summaryrefslogtreecommitdiffstats
path: root/third_party/python_24/Lib/encodings/mbcs.py
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-05 20:40:00 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-05 20:40:00 +0000
commite0669b7fe11f4470a990683bfa6f1aace0fce315 (patch)
tree571ed0714f50ffdac1afd342ffc69c882f264ae4 /third_party/python_24/Lib/encodings/mbcs.py
parent6e080596ece8b739b0a4a3dc528d91a561e31879 (diff)
downloadchromium_src-e0669b7fe11f4470a990683bfa6f1aace0fce315.zip
chromium_src-e0669b7fe11f4470a990683bfa6f1aace0fce315.tar.gz
chromium_src-e0669b7fe11f4470a990683bfa6f1aace0fce315.tar.bz2
Update DEPS to use new paths for Windows-specific dependencies.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1804 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/python_24/Lib/encodings/mbcs.py')
-rw-r--r--third_party/python_24/Lib/encodings/mbcs.py36
1 files changed, 0 insertions, 36 deletions
diff --git a/third_party/python_24/Lib/encodings/mbcs.py b/third_party/python_24/Lib/encodings/mbcs.py
deleted file mode 100644
index c79f47c..0000000
--- a/third_party/python_24/Lib/encodings/mbcs.py
+++ /dev/null
@@ -1,36 +0,0 @@
-""" Python 'mbcs' Codec for Windows
-
-
-Cloned by Mark Hammond (mhammond@skippinet.com.au) from ascii.py,
-which was written by Marc-Andre Lemburg (mal@lemburg.com).
-
-(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
-
-"""
-import codecs
-
-### Codec APIs
-
-class Codec(codecs.Codec):
-
- # Note: Binding these as C functions will result in the class not
- # converting them to methods. This is intended.
- encode = codecs.mbcs_encode
- decode = codecs.mbcs_decode
-
-class StreamWriter(Codec,codecs.StreamWriter):
- pass
-
-class StreamReader(Codec,codecs.StreamReader):
- pass
-
-class StreamConverter(StreamWriter,StreamReader):
-
- encode = codecs.mbcs_decode
- decode = codecs.mbcs_encode
-
-### encodings module API
-
-def getregentry():
-
- return (Codec.encode,Codec.decode,StreamReader,StreamWriter)