summaryrefslogtreecommitdiffstats
path: root/Lib/codecs.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r--Lib/codecs.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index 39ec845..44618cb 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -5,9 +5,10 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
-"""#"
+"""
-import builtins, sys
+import builtins
+import sys
### Registry and builtin stateless codec functions
@@ -739,7 +740,7 @@ class StreamReaderWriter:
"""
return getattr(self.stream, name)
- # these are needed to make "with codecs.open(...)" work properly
+ # these are needed to make "with StreamReaderWriter(...)" work properly
def __enter__(self):
return self