You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extra/chardet/chardistribution.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ def __init__(self):
42
42
self._mTableSize=None# Size of above table
43
43
self._mTypicalDistributionRatio=None# This is a constant value which varies from language to language, used in calculating confidence. See http://www.mozilla.org/projects/intl/UniversalCharsetDetection.html for further detail.
44
44
self.reset()
45
-
45
+
46
46
defreset(self):
47
47
"""reset analyser, clear any state"""
48
48
self._mDone=constants.False# If this flag is set to constants.True, detection is done and conclusion has been made
@@ -87,7 +87,7 @@ def get_order(self, aStr):
87
87
# convert this encoding string to a number, here called order.
88
88
# This allows multiple encodings of a language to share one frequency table.
0 commit comments