Those are the Sphinx style doc strings.

Python has some strong opinions about doc strings, see PEP257.

Here is a full description of all of the doc string types in Python: What is the standard Python docstring format?

Answer from townie on Stack Overflow
๐ŸŒ
JetBrains
jetbrains.com โ€บ help โ€บ pycharm โ€บ using-docstrings-to-specify-types.html
Specify types with docstrings | PyCharm Documentation
September 1, 2025 - Press Ctrl+Alt+S and go to Editor | General | Smart Keys | Python. Select the Insert type placeholders in the documentation comment stub checkbox. Place the caret at the function name, and press Alt+Enter.
๐ŸŒ
JetBrains
jetbrains.com โ€บ help โ€บ pycharm โ€บ type-syntax-for-docstrings.html
Legacy type syntax for docstrings | PyCharm Documentation
1 month ago - This information is specified using docstrings. You can use different docstrings depending on the selected docstring format, for example, :type, @type, or Args. Use project settings to alter the docstring format (Settings | Python | Tools | Integrated Tools) .
Discussions

Change docstring style for a project's entire codebase
You can change the default style that is auto-generated by PyCharm. https://www.jetbrains.com/help/pycharm/settings-tools-python-integrated-tools.html To convert the existing docstrings you will need to use a tool like pyment https://stackoverflow.com/questions/44955366/simple-way-to-convert-python-docstrings-from-restructured-text-to-google-style More on reddit.com
๐ŸŒ r/pycharm
4
5
May 17, 2021
What style does PyCharm / IntelliJ use for Python docstrings? - Stack Overflow
I'm used to the Google style ... by PyCharm's default docstring skeleton format/style however: """ :param : blah blah :return None """ What style is this and what reference doc generators does it work with? Is there a style guide somewhere? ... That is the reStructuredText docstring style. That style is specified by PEP 287 ... Those are the Sphinx style doc strings. Python has some strong ... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Documenting Python parameters in docstring using PyCharm - Stack Overflow
Oddly enough, I found out that when the documentation is generated by typing """ then toggling auto-complete, PyCharm seems to recognize example 5. ... Have you checked Settings... - Tools - Python integrated tools - Docstring format? More on stackoverflow.com
๐ŸŒ stackoverflow.com
python - Custom PyCharm docstring stubs (i.e. for google docstring or numpydoc formats) - Stack Overflow
With PyCharm 5.0 we finally got to select Google and NumPy Style Python Docstrings templates. It is also mentioned in the whatsnew section for PyCharm 5.0. More on stackoverflow.com
๐ŸŒ stackoverflow.com
๐ŸŒ
JetBrains
jetbrains.com โ€บ help โ€บ pycharm โ€บ creating-documentation-comments.html
Create documentation comments | PyCharm Documentation
January 21, 2026 - Open settings Ctrl+Alt+S and navigate to Python | Tools | Integrated Tools. In the Docstring format dropdown, select reStructuredText. Then type the opening triple double-quotes and press Enter or Space.
๐ŸŒ
JetBrains
jetbrains.com โ€บ help โ€บ pycharm โ€บ documenting-source-code.html
Document source code | PyCharm Documentation
January 20, 2026 - In the Python files, PyCharm recognizes the documentation comments represented as Python docstrings. Before you start, make sure that the required docstring format is selected in the Integrated Tools page of the Settings dialog.
๐ŸŒ
Medium
medium.com โ€บ @djnrrd โ€บ automatic-documentation-with-pycharm-70d37927df57
Automatic Documentation with PyCharm | by DJ Nrrd | Medium
April 21, 2020 - In the Docstrings section, set the Docstring format to โ€˜reStructuredTextโ€™ and make sure โ€˜Analyze Python code in doctringsโ€™ is selected. If you type the triple quotes to start your docstring and then press Enter, PyCharm will automatically provide a number of relevant sphinx Info Fields ...
๐ŸŒ
JetBrains
jetbrains.com โ€บ help โ€บ pycharm โ€บ settings-tools-python-integrated-tools.html
Integrated Tools | PyCharm Documentation
January 21, 2026 - Use this page to configure requirements management file, default test runner, and documentation strings treatment ยท Package requirements file
Find elsewhere
๐ŸŒ
JetBrains
jetbrains.com โ€บ help โ€บ pycharm โ€บ generating-reference-documentation.html
Generate reference documentation | PyCharm Documentation
August 4, 2025 - PyCharm recognizes the docstring format and uses the documentation source directory defined in the Integrated Tools page of the Settings dialog. Select DocUtil task run/debug configuration, and change it as required: specify the configuration ...
๐ŸŒ
Quora
quora.com โ€บ How-do-you-write-a-docstring-in-PyCharm
How to write a docstring in PyCharm - Quora
Answer: PyCharm is just an editor l! Docstrings are a feature of Python so to write a doc string you apply the following rules : * Doc strings immediately follow the start of a module, class or method - in the case of a class or method they ...
๐ŸŒ
Python
peps.python.org โ€บ pep-0257
PEP 257 โ€“ Docstring Conventions | peps.python.org
The aim of this PEP is to standardize the high-level structure of docstrings: what they should contain, and how to say it (without touching on any markup syntax within docstrings).
๐ŸŒ
JetBrains
intellij-support.jetbrains.com โ€บ hc โ€บ en-us โ€บ community โ€บ posts โ€บ 5977082118930-Pycharm-stopped-auto-docstring
Pycharm stopped auto docstring. โ€“ IDEs Support (IntelliJ Platform) | JetBrains
June 8, 2022 - When I use to write a function, if I start a doc string with three double quotes just below a function signature, pycharm would partially fill out all the documentation like params and return values. Right now, it doesn't happen anymore. I figure it's a project setting that I must have accidentally changed. How do I turn it back on? ... Thank for the follow up. Here's what I have for docstring under Python Integrated Tools: Docstring format: Plain [x] Analyze code in docstring.
๐ŸŒ
JetBrains
jetbrains.com โ€บ help โ€บ pycharm โ€บ enabling-creation-of-documentation-comments.html
Manage documentation comments | PyCharm Documentation
January 21, 2026 - To restrict creating documentation comments, press Ctrl+Alt+S to open settings and select Python | Tools | Integrated Tools. In the Docstrings area, select Plain from the Docstring format list.