[Python-checkins] python/dist/src/Doc/api newtypes.tex,1.14,1.15
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed, 14 Aug 2002 13:59:40 -0700
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv22594
Modified Files:
newtypes.tex
Log Message:
Py_InitModule() and friends now accept NULL for the 'methods'
argument. This makes sense now that extension types can support
__init__ directly rather than requiring function constructors.
Index: newtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/newtypes.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** newtypes.tex 6 Aug 2002 17:18:56 -0000 1.14
--- newtypes.tex 14 Aug 2002 20:59:38 -0000 1.15
***************
*** 84,87 ****
--- 84,90 ----
Create a new module object based on a name and table of functions,
returning the new module object.
+
+ \versionchanged[Older versions of Python did not support \NULL{} as
+ the value for the \var{methods} argument]{2.3}
\end{cfuncdesc}
***************
*** 92,95 ****
--- 95,101 ----
returning the new module object. If \var{doc} is non-\NULL, it will
be used to define the docstring for the module.
+
+ \versionchanged[Older versions of Python did not support \NULL{} as
+ the value for the \var{methods} argument]{2.3}
\end{cfuncdesc}
***************
*** 110,113 ****
--- 116,122 ----
the \cfunction{Py_InitModule3()} instead; only use this if you are
sure you need it.}
+
+ \versionchanged[Older versions of Python did not support \NULL{} as
+ the value for the \var{methods} argument]{2.3}
\end{cfuncdesc}