diff options
author | Guido van Rossum <guido@python.org> | 1996-09-10 17:38:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-09-10 17:38:20 (GMT) |
commit | 974e46cc5e7d4c8cab7b0490965020929bf26588 (patch) | |
tree | 15658e2bdc915066d1c3e81f165d98e759ada774 /Lib | |
parent | 2ea05098eb6e69288b6d78e31115d490b1362ef7 (diff) | |
download | cpython-974e46cc5e7d4c8cab7b0490965020929bf26588.zip cpython-974e46cc5e7d4c8cab7b0490965020929bf26588.tar.gz cpython-974e46cc5e7d4c8cab7b0490965020929bf26588.tar.bz2 |
Fix type in loop stripping '__.' from name
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ni.py | 2 | ||||
-rw-r--r-- | Lib/ni1.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -280,7 +280,7 @@ class PackageImporter(ModuleImporter): p = package name = name[3:] while name[:3] in ('__.', '__'): - p = package.__ + p = p.__ name = name[3:] if not name: return self.finish(package, p, '', fromlist) @@ -280,7 +280,7 @@ class PackageImporter(ModuleImporter): p = package name = name[3:] while name[:3] in ('__.', '__'): - p = package.__ + p = p.__ name = name[3:] if not name: return self.finish(package, p, '', fromlist) |