[Python-checkins] cpython (2.7): #19943: fix typo noticed by Jakub Wilk.

ezio.melotti python-checkins at python.org
Tue Dec 10 13:06:52 CET 2013


http://hg.python.org/cpython/rev/b96a6493cecf
changeset:   87883:b96a6493cecf
branch:      2.7
parent:      87877:a9f91a38a265
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Tue Dec 10 14:05:46 2013 +0200
summary:
  #19943: fix typo noticed by Jakub Wilk.

files:
  Lib/lib2to3/fixes/fix_import.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/lib2to3/fixes/fix_import.py b/Lib/lib2to3/fixes/fix_import.py
--- a/Lib/lib2to3/fixes/fix_import.py
+++ b/Lib/lib2to3/fixes/fix_import.py
@@ -32,7 +32,7 @@
         elif node.type == syms.dotted_as_names:
             pending.extend(node.children[::-2])
         else:
-            raise AssertionError("unkown node type")
+            raise AssertionError("unknown node type")
 
 
 class FixImport(fixer_base.BaseFix):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list