---
title: "Discussion on \"Python Docstrings\" | Hashnode"
description: "Discussion on \"Python Docstrings\". There are two common styles for writing python docstrings:\nSphinx\ndef hello(name, language=\"en\"):\n \"\"\"Say hello to a person.\n :param name: the name of the person\n :type name: str\n :param language: the language in which the person should be greeted\n :..."
url: "https://hashnode.com/posts/python-docstrings/62cebcb6c88cd0d5ff7016ee"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Python Docstrings](https://frankeffect.hashnode.dev/python-docstrings?utm_source=hashnode&utm_medium=feed)

There are two common styles for writing python docstrings: Sphinx def hello(name, language="en"): """Say hello to a person. :param name: the name of the person :type name: str :param language: the language in which the person should be greeted :...

Jul 13, 2022 · 1 min read · frankeffect.hashnode.dev  
Read the article

## Written by

[FRANCIS GITHAE](https://hashnode.com/@Frankeffect)

@Frankeffect

  
[View profile](https://hashnode.com/@Frankeffect)

Software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
