About 316,000 results
Open links in new tab
  1. Example Google Style Python Docstrings - Read the Docs

    Example: Examples can be given using either the ``Example`` or ``Examples`` sections. Sections support any reStructuredText formatting, including literal blocks:: $ python example_google.py …

  2. How do I document a module in Python? - Stack Overflow

    Here is an Example Google Style Python Docstrings on how module can be documented. Basically there is an information about a module, how to execute it and information about …

  3. example_google moduleExample Google Style Python Docstrings

    Example Google style docstrings. This module demonstrates documentation as specified by the Google Python Style Guide. Docstrings may extend over multiple lines. Sections are created …

  4. Google Style Python Docstrings · GitHub

    Instantly share code, notes, and snippets. """Example Google style docstrings. Style Guide`_. Docstrings may extend over multiple lines. Sections are created. with a section header and a …

  5. styleguide | Style guides for Google-originated open-source …

    A docstring is a string that is the first statement in a package, module, class or function. These strings can be extracted automatically through the __doc__ member of the object and are …

  6. Python Docstring Formats (Styles) and Examples | note.nkmk.me

    Aug 26, 2023 · In Python, strings written at the beginning of definitions such as functions and classes are treated as docstrings (documentation strings). IDEs or editors may offer keyboard …

  7. Example Google Style Python Docstrings — Solutions 0.0.1 …

    Example Google style docstrings. This module demonstrates documentation as specified by the Google Python Style Guide. Docstrings may extend over multiple lines. Sections are created …

  8. Example Google Style Python Docstrings - Sphinx doc

    Docstrings may extend over multiple lines. Sections are created with a section header and a colon followed by a block of indented text. Example: Examples can be given using either the …

  9. A Guide to Python Docstring Formats: Choosing the Right Style

    May 31, 2023 · We will provide examples for each format, including Google style docstrings, Sphinx/reStructuredText style docstrings, NumPy style docstrings, and Epytext style …

  10. Python DocString (Google Style): How to document class …

    Jul 21, 2020 · Assuming you would like to use napoleon to render your docstrings into docs, the sphinx developers are working towards a way to add custom sections to class-level docstrings …

  11. Some results have been removed
Refresh