mirror of https://github.com/python/cpython
SF bug: #921927: Fixed a typo/thinko spelling "parameter" as "paramter"
This commit is contained in:
parent
91a968af76
commit
5232f50b19
|
@ -2462,7 +2462,7 @@ acts as a proxy for the original object as much as it can.
|
|||
object; an existing reference object may be returned. The second
|
||||
parameter, \var{callback}, can be a callable object that receives
|
||||
notification when \var{ob} is garbage collected; it should accept a
|
||||
single paramter, which will be the weak reference object itself.
|
||||
single parameter, which will be the weak reference object itself.
|
||||
\var{callback} may also be \code{None} or \NULL. If \var{ob}
|
||||
is not a weakly-referencable object, or if \var{callback} is not
|
||||
callable, \code{None}, or \NULL, this will return \NULL{} and
|
||||
|
@ -2477,7 +2477,7 @@ acts as a proxy for the original object as much as it can.
|
|||
a new object; an existing proxy object may be returned. The second
|
||||
parameter, \var{callback}, can be a callable object that receives
|
||||
notification when \var{ob} is garbage collected; it should accept a
|
||||
single paramter, which will be the weak reference object itself.
|
||||
single parameter, which will be the weak reference object itself.
|
||||
\var{callback} may also be \code{None} or \NULL. If \var{ob} is not
|
||||
a weakly-referencable object, or if \var{callback} is not callable,
|
||||
\code{None}, or \NULL, this will return \NULL{} and raise
|
||||
|
|
|
@ -322,7 +322,7 @@ Still more text.
|
|||
\end{verbatim}
|
||||
|
||||
A macro which takes an optional parameter would be typed like this
|
||||
when the optional paramter is given:
|
||||
when the optional parameter is given:
|
||||
|
||||
\begin{verbatim}
|
||||
\name[optional]
|
||||
|
|
Loading…
Reference in New Issue