mirror of
https://github.com/python/cpython.git
synced 2024-12-15 04:44:47 +08:00
5abd76a75d
Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
13 lines
227 B
Python
13 lines
227 B
Python
# This is a sample module used for testing doctest.
|
|
#
|
|
# This module is for testing how doctest handles a module with no
|
|
# docstrings.
|
|
|
|
|
|
class Foo(object):
|
|
|
|
# A class with no docstring.
|
|
|
|
def __init__(self):
|
|
pass
|