mirror of https://github.com/python/cpython.git
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
|
object; an existing reference object may be returned. The second
|
||||||
parameter, \var{callback}, can be a callable object that receives
|
parameter, \var{callback}, can be a callable object that receives
|
||||||
notification when \var{ob} is garbage collected; it should accept a
|
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}
|
\var{callback} may also be \code{None} or \NULL. If \var{ob}
|
||||||
is not a weakly-referencable object, or if \var{callback} is not
|
is not a weakly-referencable object, or if \var{callback} is not
|
||||||
callable, \code{None}, or \NULL, this will return \NULL{} and
|
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
|
a new object; an existing proxy object may be returned. The second
|
||||||
parameter, \var{callback}, can be a callable object that receives
|
parameter, \var{callback}, can be a callable object that receives
|
||||||
notification when \var{ob} is garbage collected; it should accept a
|
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
|
\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,
|
a weakly-referencable object, or if \var{callback} is not callable,
|
||||||
\code{None}, or \NULL, this will return \NULL{} and raise
|
\code{None}, or \NULL, this will return \NULL{} and raise
|
||||||
|
|
|
@ -322,7 +322,7 @@ Still more text.
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
A macro which takes an optional parameter would be typed like this
|
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}
|
\begin{verbatim}
|
||||||
\name[optional]
|
\name[optional]
|
||||||
|
|
Loading…
Reference in New Issue