Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Side by Side Diff: third_party/requests/packages/charade/big5prober.py

Issue 25004007: Update 'requests' lib to v2.0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 ######################## BEGIN LICENSE BLOCK ######################## 1 ######################## BEGIN LICENSE BLOCK ########################
2 # The Original Code is Mozilla Communicator client code. 2 # The Original Code is Mozilla Communicator client code.
3 # 3 #
4 # The Initial Developer of the Original Code is 4 # The Initial Developer of the Original Code is
5 # Netscape Communications Corporation. 5 # Netscape Communications Corporation.
6 # Portions created by the Initial Developer are Copyright (C) 1998 6 # Portions created by the Initial Developer are Copyright (C) 1998
7 # the Initial Developer. All Rights Reserved. 7 # the Initial Developer. All Rights Reserved.
8 # 8 #
9 # Contributor(s): 9 # Contributor(s):
10 # Mark Pilgrim - port to Python 10 # Mark Pilgrim - port to Python
(...skipping 22 matching lines...) Expand all
33 33
34 class Big5Prober(MultiByteCharSetProber): 34 class Big5Prober(MultiByteCharSetProber):
35 def __init__(self): 35 def __init__(self):
36 MultiByteCharSetProber.__init__(self) 36 MultiByteCharSetProber.__init__(self)
37 self._mCodingSM = CodingStateMachine(Big5SMModel) 37 self._mCodingSM = CodingStateMachine(Big5SMModel)
38 self._mDistributionAnalyzer = Big5DistributionAnalysis() 38 self._mDistributionAnalyzer = Big5DistributionAnalysis()
39 self.reset() 39 self.reset()
40 40
41 def get_charset_name(self): 41 def get_charset_name(self):
42 return "Big5" 42 return "Big5"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698