diff options
author | Gregory P. Smith <greg@krypto.org> | 2014-01-28 06:43:25 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2014-01-28 06:43:25 (GMT) |
commit | aaef0e7821e10c851277efa44022d1b27ec6453f (patch) | |
tree | 985593da7d3d3d841ec121d951a4563860c57967 /Modules/zipimport.c | |
parent | 1a4795525511154621cca5f083b93c953327c7b6 (diff) | |
download | cpython-aaef0e7821e10c851277efa44022d1b27ec6453f.zip cpython-aaef0e7821e10c851277efa44022d1b27ec6453f.tar.gz cpython-aaef0e7821e10c851277efa44022d1b27ec6453f.tar.bz2 |
Remove inaccurate comment and a the related recently added
Py_VerboseFlag print that can never be triggered.
prefix[0] is always equal to 0 at this point in the code.
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r-- | Modules/zipimport.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c index 180b56f..71e0d18 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c @@ -134,13 +134,6 @@ zipimporter_init(ZipImporter *self, PyObject *args, PyObject *kwds) } if (path != NULL) { PyObject *files; - if (Py_VerboseFlag && prefix && prefix[0] != '\0') - PySys_WriteStderr("# zipimport: prefix=%s constructing a " - "zipimporter for %s\n", prefix, path); - /* NOTE(gps): test_zipimport.py never exercises a case where - * prefix is non-empty. When would that ever be possible? - * Are we missing coverage or is prefix simply never needed? - */ files = PyDict_GetItemString(zip_directory_cache, path); if (files == NULL) { PyObject *zip_stat = NULL; |