[Python-checkins] cpython: Remove unused variable

amaury.forgeotdarc python-checkins at python.org
Wed Aug 31 00:44:16 CEST 2011


http://hg.python.org/cpython/rev/3102951cc1ce
changeset: 72145:3102951cc1ce
user: Amaury Forgeot d'Arc <amauryfa at gmail.com>
date: Wed Aug 31 00:43:55 2011 +0200
summary:
 Remove unused variable
files:
 Lib/mimetypes.py | 1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -249,7 +249,6 @@
 yield ctype
 i += 1
 
- default_encoding = sys.getdefaultencoding()
 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT,
 r'MIME\Database\Content Type') as mimedb:
 for ctype in enum_types(mimedb):
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /