8.2.34 | Linux | www-data (uid:33)
👁 View: compat.py
📁 //snap/core20/2866/usr/lib/python3/dist-packages/chardet/compat.py
######################## BEGIN LICENSE BLOCK ######################## # Contributor(s): # Dan Blanchard # Ian Cordasco # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA # 02110-1301 USA ######################### END LICENSE BLOCK ######################### import sys if sys.version_info < (3, 0): PY2 = True PY3 = False base_str = (str, unicode) text_type = unicode else: PY2 = False PY3 = True base_str = (bytes, str) text_type = str
← Back
💻 Terminal
📤 Upload
📂
Click or Drag & Drop
📁 //snap/core20/2866/usr/lib/python3/dist-packages/chardet
NameSizePermModifiedActions
📁 __pycache__/-07552026-04-10 12:14🗑 Delete
📁 cli/-07552026-04-10 12:14🗑 Delete
__init__.py1.5K06442017-04-12 18:41👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
big5freq.py30.5K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
big5prober.py1.7K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
chardistribution.py9.2K06442017-04-11 19:52👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
charsetgroupprober.py3.7K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
charsetprober.py5K06442017-06-08 14:21👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
codingstatemachine.py3.5K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
compat.py1.1K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
cp949prober.py1.8K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
enums.py1.6K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
escprober.py3.9K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
escsm.py10.3K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
eucjpprober.py3.7K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
euckrfreq.py13.2K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
euckrprober.py1.7K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
euctwfreq.py30.9K06442017-04-11 20:48👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
euctwprober.py1.7K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
gb2312freq.py20.2K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
gb2312prober.py1.7K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
hebrewprober.py13.5K06442017-06-08 14:21👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
jisfreq.py25.2K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
jpcntx.py19.2K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
langbulgarianmodel.py12.5K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
langcyrillicmodel.py17.5K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
langgreekmodel.py12.4K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
langhebrewmodel.py11.1K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
langhungarianmodel.py12.3K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
langthaimodel.py11K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
langturkishmodel.py10.8K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
latin1prober.py5.2K06442017-06-08 14:21👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
mbcharsetprober.py3.3K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
mbcsgroupprober.py2K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
mbcssm.py24.9K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
sbcharsetprober.py5.5K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
sbcsgroupprober.py3.5K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
sjisprober.py3.7K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
universaldetector.py12.2K06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
utf8prober.py2.7K06442017-04-11 17:51👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
version.py242B06442017-06-08 14:32👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del