|
47 | 47 | builtins.object |
48 | 48 | A |
49 | 49 | B |
| 50 | + C |
50 | 51 | \x20\x20\x20\x20 |
51 | 52 | class A(builtins.object) |
52 | 53 | | Hello and goodbye |
@@ -74,6 +75,26 @@ class B(builtins.object) |
74 | 75 | | Data and other attributes defined here: |
75 | 76 | |\x20\x20 |
76 | 77 | | NO_MEANING = 'eggs' |
| 78 | +\x20\x20\x20\x20 |
| 79 | + class C(builtins.object) |
| 80 | + | Methods defined here: |
| 81 | + |\x20\x20 |
| 82 | + | get_answer(self) |
| 83 | + | Return say_no() |
| 84 | + |\x20\x20 |
| 85 | + | is_it_true(self) |
| 86 | + | Return self.get_answer() |
| 87 | + |\x20\x20 |
| 88 | + | say_no(self) |
| 89 | + |\x20\x20 |
| 90 | + | ---------------------------------------------------------------------- |
| 91 | + | Data descriptors defined here: |
| 92 | + |\x20\x20 |
| 93 | + | __dict__ |
| 94 | + | dictionary for instance variables (if defined) |
| 95 | + |\x20\x20 |
| 96 | + | __weakref__ |
| 97 | + | list of weak references to the object (if defined) |
77 | 98 |
|
78 | 99 | FUNCTIONS |
79 | 100 | doc_func() |
@@ -124,6 +145,7 @@ class B(builtins.object) |
124 | 145 | <dl> |
125 | 146 | <dt><font face="helvetica, arial"><a href="test.pydoc_mod.html#A">A</a> |
126 | 147 | </font></dt><dt><font face="helvetica, arial"><a href="test.pydoc_mod.html#B">B</a> |
| 148 | +</font></dt><dt><font face="helvetica, arial"><a href="test.pydoc_mod.html#C">C</a> |
127 | 149 | </font></dt></dl> |
128 | 150 | </dd> |
129 | 151 | </dl> |
@@ -165,6 +187,28 @@ class B(builtins.object) |
165 | 187 | Data and other attributes defined here:<br> |
166 | 188 | <dl><dt><strong>NO_MEANING</strong> = 'eggs'</dl> |
167 | 189 |
|
| 190 | +</td></tr></table> <p> |
| 191 | +<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 192 | +<tr bgcolor="#ffc8d8"> |
| 193 | +<td colspan=3 valign=bottom> <br> |
| 194 | +<font color="#000000" face="helvetica, arial"><a name="C">class <strong>C</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> |
| 195 | +\x20\x20\x20\x20 |
| 196 | +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 197 | +<td width="100%%">Methods defined here:<br> |
| 198 | +<dl><dt><a name="C-get_answer"><strong>get_answer</strong></a>(self)</dt><dd><tt>Return <a href="#C-say_no">say_no</a>()</tt></dd></dl> |
| 199 | +
|
| 200 | +<dl><dt><a name="C-is_it_true"><strong>is_it_true</strong></a>(self)</dt><dd><tt>Return self.<a href="#C-get_answer">get_answer</a>()</tt></dd></dl> |
| 201 | +
|
| 202 | +<dl><dt><a name="C-say_no"><strong>say_no</strong></a>(self)</dt></dl> |
| 203 | +
|
| 204 | +<hr> |
| 205 | +Data descriptors defined here:<br> |
| 206 | +<dl><dt><strong>__dict__</strong></dt> |
| 207 | +<dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 208 | +</dl> |
| 209 | +<dl><dt><strong>__weakref__</strong></dt> |
| 210 | +<dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 211 | +</dl> |
168 | 212 | </td></tr></table></td></tr></table><p> |
169 | 213 | <table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
170 | 214 | <tr bgcolor="#eeaa77"> |
|
0 commit comments