summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-05-28 21:57:35 +0000
committerGeorg Brandl <georg@python.org>2006-05-28 21:57:35 +0000
commit5f6861df9300f455d600b6cd237faf429d9a06b0 (patch)
tree1d4623b3dcd8c38658883f1318d84d6aa66f401b /Python
parentc26025c562c85cac07470b832215f5f1e474aa56 (diff)
downloadcpython-git-5f6861df9300f455d600b6cd237faf429d9a06b0.tar.gz
Correct None refcount issue in Mac modules. (Are they
still used?)
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 1a71b5cf6b..c49a91fc6a 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -2059,7 +2059,7 @@ PyImport_ImportModuleLevel(char *name, PyObject *globals, PyObject *locals,
/* Return the package that an import is being performed in. If globals comes
from the module foo.bar.bat (not itself a package), this returns the
sys.modules entry for foo.bar. If globals is from a package's __init__.py,
- the package's entry in sys.modules is returned.
+ the package's entry in sys.modules is returned, as a borrowed reference.
The *name* of the returned package is returned in buf, with the length of
the name in *p_buflen.