mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
"numberic" --> "numeric", two places
This commit is contained in:
parent
1453a8caf9
commit
ae3e574170
1 changed files with 2 additions and 2 deletions
|
@ -1047,7 +1047,7 @@ multiplication (meaning repetition) by defining the methods
|
|||
\ttindex{__radd__()}
|
||||
\ttindex{__mul__()}
|
||||
\ttindex{__rmul__()}}
|
||||
\withsubitem{(numberic object method)}{\ttindex{__coerce__()}}
|
||||
\withsubitem{(numeric object method)}{\ttindex{__coerce__()}}
|
||||
|
||||
\begin{methoddesc}[mapping object]{__len__}{self}
|
||||
Called to implement the built-in function
|
||||
|
@ -1121,7 +1121,7 @@ Methods corresponding to operations that are not supported by the
|
|||
particular kind of number implemented (e.g., bitwise operations for
|
||||
non-integral numbers) should be left undefined.
|
||||
|
||||
\begin{methoddesc}[numberic interface]{__add__}{self, other}
|
||||
\begin{methoddesc}[numeric interface]{__add__}{self, other}
|
||||
\methodline{__sub__}{self, other}
|
||||
\methodline{__mul__}{self, other}
|
||||
\methodline{__div__}{self, other}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue