Mercurial > cpython-lru_cache-weakref
diff Objects/moduleobject.c @ 50557:bd0e361bd642 3.0
Merged revisions 68169-68170 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r68169 | georg.brandl | 2009-01-02 20:20:26 +0100 (Fri, 02 Jan 2009) | 2 lines
Remove traces of Py_InitModule*.
........
r68170 | georg.brandl | 2009-01-02 21:10:05 +0100 (Fri, 02 Jan 2009) | 2 lines
#4808: move old API below new API doc.
........
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sat, 03 Jan 2009 23:57:38 +0000 |
| parents | 82091df651be |
| children | 43e0b1ee1c1b |
line wrap: on
line diff
--- a/Objects/moduleobject.c Sat Jan 03 23:56:02 2009 +0000 +++ b/Objects/moduleobject.c Sat Jan 03 23:57:38 2009 +0000 @@ -91,9 +91,9 @@ This is a bit of a hack: when the shared library is loaded, the module name is "package.module", but the module calls - Py_InitModule*() with just "module" for the name. The shared + PyModule_Create*() with just "module" for the name. The shared library loader squirrels away the true name of the module in - _Py_PackageContext, and Py_InitModule*() will substitute this + _Py_PackageContext, and PyModule_Create*() will substitute this (if the name actually matches). */ if (_Py_PackageContext != NULL) {
