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 › 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
Discussions

What style does PyCharm / IntelliJ use for Python docstrings? - Stack Overflow
I'm trying to understand the "solution ecosystem" with respect to creating docstrings, and then generating some nice reference documentation with PyCharm/IntelliJ. I'm used to the Google style More on stackoverflow.com
🌐 stackoverflow.com
intellij idea - Make 'Google' the default docstring style for ALL projects PyCharm - Stack Overflow
I'm aware that I can go to Settings | Tools | Python Integrated Tools | Docstrings | Docstring format | Google, but this only sets the the docstring format for the current project (as indicated by ... More on stackoverflow.com
🌐 stackoverflow.com
python - Custom PyCharm docstring stubs (i.e. for google docstring or numpydoc formats) - Stack Overflow
Does PyCharm 2.7 (or will PyCharm 3) have support for custom docstring and doctest stubs? If so, how does one go about writing this specific type of custom extension? My current project has More on stackoverflow.com
🌐 stackoverflow.com
python - How can I auto-format a docstring in PyCharm? - Stack Overflow
This doesn’t really answer the pycharm plug-in question, but Python’s builtin textwrap module is great for doing exactly this kind of formatting. ... @Samwise if there's an easy way (e.g. not needing to write code) to use that to format the docstring, I'd accept that as an answer. More on stackoverflow.com
🌐 stackoverflow.com
🌐
JetBrains
jetbrains.com › help › pycharm › type-syntax-for-docstrings.html
Legacy type syntax for docstrings | PyCharm Documentation
3 weeks ago - Use project settings to alter the docstring format (File | Settings | Python | Tools | Integrated Tools) .
🌐
JetBrains
jetbrains.com › help › pycharm › using-docstrings-to-specify-types.html
Specify types with docstrings | PyCharm Documentation
September 1, 2025 - In the list of intention actions that opens, choose Insert a documentation string stub. PyCharm creates a documentation stub, according to the selected docstring format, with the type specification, collected during the debugger session.
🌐
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 for you.
Find elsewhere
🌐
JetBrains
jetbrains.com › help › pycharm › creating-documentation-comments.html
Create documentation comments | PyCharm Documentation
January 21, 2026 - In the Docstring format dropdown, select reStructuredText. Then type the opening triple double-quotes and press Enter or Space. PyCharm generates a documentation comment stub in reStructuredText format:
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 115000784410-how-to-change-pycharm-default-commenting-style-for-function
how to change pycharm default commenting style for function? – IDEs Support (IntelliJ Platform) | JetBrains
... """ validating the closure ... How? ... Hi Pswpeterpab! You can switch docstring style in Settings | Tools | Python Integrated Tools | Docstring format, you are looking for NumPy style I believe....
🌐
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.
🌐
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 ...
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360007717300-How-to-add-a-custom-docstring-format-to-pycharm
How to add a custom `docstring format` to pycharm ? – IDEs Support (IntelliJ Platform) | JetBrains
March 17, 2020 - I need `doxygen docstring format` , and insert docstring `above` func / class instead of below func / class . but I read https://www.jetbrains.org/intellij/sdk/docs/products/pycharm.html , ...
🌐
GitHub
github.com › mabuchilab › QNET › issues › 16
Migrate docstrings to Google format · Issue #16 · mabuchilab/QNET
January 14, 2016 - Sphinx includes the napoleon plugin (see above) to understand docstrings in the Google format. Modules can contain docstrings in a mixed format. Thus, we can gradually migrate to the new format (although eventually, all docstrings should be in Google format). PyCharm can be configured to use ...
Author   goerz