summaryrefslogtreecommitdiffstats
path: root/Lib/ni1.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-09-10 17:38:20 (GMT)
committerGuido van Rossum <guido@python.org>1996-09-10 17:38:20 (GMT)
commit974e46cc5e7d4c8cab7b0490965020929bf26588 (patch)
tree15658e2bdc915066d1c3e81f165d98e759ada774 /Lib/ni1.py
parent2ea05098eb6e69288b6d78e31115d490b1362ef7 (diff)
downloadcpython-974e46cc5e7d4c8cab7b0490965020929bf26588.zip
cpython-974e46cc5e7d4c8cab7b0490965020929bf26588.tar.gz
cpython-974e46cc5e7d4c8cab7b0490965020929bf26588.tar.bz2
Fix type in loop stripping '__.' from name
Diffstat (limited to 'Lib/ni1.py')
-rw-r--r--Lib/ni1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ni1.py b/Lib/ni1.py
index fae23a9..fa24d30 100644
--- a/Lib/ni1.py
+++ b/Lib/ni1.py
@@ -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)