Georg Brandl | b533e26 | 2008-05-25 18:19:30 +0000 | [diff] [blame] | 1 | """This is a test module for test_pydoc""" |
| 2 | |
| 3 | __author__ = "Benjamin Peterson" |
| 4 | __credits__ = "Nobody" |
| 5 | __version__ = "1.2.3.4" |
Alexander Belopolsky | a47bbf5 | 2010-11-18 01:52:54 +0000 | [diff] [blame] | 6 | __xyz__ = "X, Y and Z" |
Georg Brandl | b533e26 | 2008-05-25 18:19:30 +0000 | [diff] [blame] | 7 | |
| 8 | class A: |
| 9 | """Hello and goodbye""" |
| 10 | def __init__(): |
| 11 | """Wow, I have no function!""" |
| 12 | pass |
| 13 | |
| 14 | class B(object): |
| 15 | NO_MEANING = "eggs" |
| 16 | pass |
| 17 | |
| 18 | def doc_func(): |
| 19 | """ |
| 20 | This function solves all of the world's problems: |
| 21 | hunger |
| 22 | lack of Python |
| 23 | war |
| 24 | """ |
| 25 | |
| 26 | def nodoc_func(): |
| 27 | pass |