File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ Doc/reference/expressions.rst
158158Doc/reference/import.rst
159159Doc/reference/simple_stmts.rst
160160Doc/tutorial/appendix.rst
161- Doc/tutorial/classes.rst
162161Doc/tutorial/controlflow.rst
163162Doc/tutorial/datastructures.rst
164163Doc/tutorial/introduction.rst
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ definition looked like this::
276276then ``MyClass.i `` and ``MyClass.f `` are valid attribute references, returning
277277an integer and a function object, respectively. Class attributes can also be
278278assigned to, so you can change the value of ``MyClass.i `` by assignment.
279- :attr: `__doc__ ` is also a valid attribute, returning the docstring belonging to
279+ :attr: `! __doc__ ` is also a valid attribute, returning the docstring belonging to
280280the class: ``"A simple example class" ``.
281281
282282Class *instantiation * uses function notation. Just pretend that the class
You can’t perform that action at this time.
0 commit comments