diff options
Diffstat (limited to 'Tools/unicode/listcodecs.py')
-rw-r--r-- | Tools/unicode/listcodecs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/unicode/listcodecs.py b/Tools/unicode/listcodecs.py index 19d21e1..c196ced 100644 --- a/Tools/unicode/listcodecs.py +++ b/Tools/unicode/listcodecs.py @@ -22,7 +22,7 @@ def listcodecs(dir): except LookupError: # Codec not found continue - except Exception, reason: + except Exception as reason: # Probably an error from importing the codec; still it's # a valid code name if _debug: |