Fix typos.

This commit is contained in:
Walter Dörwald 2006-03-31 11:03:57 +00:00
parent 5d23f9a8a3
commit c44e14eba0

View file

@ -2264,8 +2264,8 @@ There are a few functions specific to Python functions.
\begin{cfuncdesc}{PyObject*}{PyFunction_New}{PyObject *code, \begin{cfuncdesc}{PyObject*}{PyFunction_New}{PyObject *code,
PyObject *globals} PyObject *globals}
Return a new function object associated with the code object Return a new function object associated with the code object
\var{code}. \var{globals} must be a dictionary with the the global \var{code}. \var{globals} must be a dictionary with the global
varaibles accessible to the function. variables accessible to the function.
The function's docstring, name and \var{__module__} are retrieved The function's docstring, name and \var{__module__} are retrieved
from the code object, the argument defaults and closure are set to from the code object, the argument defaults and closure are set to