Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 9242376906b604697f278453ab853861fee2c150 authored by Guido van Rossum on 10 November 2020, 05:36:05 UTC
Some suggestions for the descriptors howto.
Tip revision: 9242376
sample_doctest_no_doctests.py
"""This is a sample module used for testing doctest.

This module is for testing how doctest handles a module with docstrings
but no doctest examples.

"""


class Foo(object):
    """A docstring with no doctest examples.

    """

    def __init__(self):
        pass
back to top