commit | b487e632826a45bb81925d1577856637c3fcafa0 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Mar 21 03:08:31 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Mar 21 03:08:31 2009 +0000 |
tree | ea4ab6c3c4a4f794ba9421f43ecdd8d05395d61a | |
parent | 16f966ee2618f7a6604b94de2e478637676f550e [diff] [blame] |
stringio doesn't have an encoding
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 771d4ce..5a7d2ca 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py
@@ -1834,3 +1834,7 @@ # TextIOWrapper tells the encoding in its repr. In StringIO, # that's a implementation detail. return object.__repr__(self) + + @property + def encoding(self): + return None