Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8b687cf

Browse files
committed
bug [ 969757 ] function and method objects confounded in Tutorial
1 parent 6d394d9 commit 8b687cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tut/tut.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3888,7 +3888,7 @@ \subsection{Class Objects \label{classObjects}}
38883888
\end{verbatim}
38893889
38903890
then \code{MyClass.i} and \code{MyClass.f} are valid attribute
3891-
references, returning an integer and a method object, respectively.
3891+
references, returning an integer and a function object, respectively.
38923892
Class attributes can also be assigned to, so you can change the value
38933893
of \code{MyClass.i} by assignment. \member{__doc__} is also a valid
38943894
attribute, returning the docstring belonging to the class: \code{"A

0 commit comments

Comments
 (0)