✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.52
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python37/lib64/python3.7/lib2to3/fixes//fix_types.py
# Copyright 2007 Google, Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.

"""Fixer for removing uses of the types module.

These work for only the known names in the types module.  The forms above
can include types. or not.  ie, It is assumed the module is imported either as:

    import types
    from types import ... # either * or specific types

The import statements are not modified.

There should be another fixer that handles at least the following constants:

   type([]) -> list
   type(()) -> tuple
   type('') -> str

"""

# Local imports
from .. import fixer_base
from ..fixer_util import Name

_TYPE_MAPPING = {
        'BooleanType' : 'bool',
        'BufferType' : 'memoryview',
        'ClassType' : 'type',
        'ComplexType' : 'complex',
        'DictType': 'dict',
        'DictionaryType' : 'dict',
        'EllipsisType' : 'type(Ellipsis)',
        #'FileType' : 'io.IOBase',
        'FloatType': 'float',
        'IntType': 'int',
        'ListType': 'list',
        'LongType': 'int',
        'ObjectType' : 'object',
        'NoneType': 'type(None)',
        'NotImplementedType' : 'type(NotImplemented)',
        'SliceType' : 'slice',
        'StringType': 'bytes', # XXX ?
        'StringTypes' : '(str,)', # XXX ?
        'TupleType': 'tuple',
        'TypeType' : 'type',
        'UnicodeType': 'str',
        'XRangeType' : 'range',
    }

_pats = ["power< 'types' trailer< '.' name='%s' > >" % t for t in _TYPE_MAPPING]

class FixTypes(fixer_base.BaseFix):
    BM_compatible = True
    PATTERN = '|'.join(_pats)

    def transform(self, node, results):
        new_value = _TYPE_MAPPING.get(results["name"].value)
        if new_value:
            return Name(new_value, prefix=node.prefix)
        return None


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
1 May 2025 1.06 PM
root / linksafe
0755
__pycache__
--
1 May 2025 1.06 PM
root / linksafe
0755
__init__.py
0.046 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_apply.py
2.291 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_asserts.py
0.961 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_basestring.py
0.313 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_buffer.py
0.576 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_dict.py
3.672 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_except.py
3.266 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_exec.py
0.956 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_execfile.py
2 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_exitfunc.py
2.437 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_filter.py
2.7 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_funcattrs.py
0.629 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_future.py
0.534 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_getcwdu.py
0.44 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_has_key.py
3.121 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_idioms.py
4.762 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_import.py
3.18 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_imports.py
5.551 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_imports2.py
0.282 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_input.py
0.691 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_intern.py
1.117 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_isinstance.py
1.57 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_itertools.py
1.512 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_itertools_imports.py
2.037 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_long.py
0.465 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_map.py
3.555 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_metaclass.py
8.005 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_methodattrs.py
0.592 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_ne.py
0.558 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_next.py
3.1 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_nonzero.py
0.577 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_numliterals.py
0.75 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_operator.py
3.346 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_paren.py
1.198 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_print.py
2.777 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_raise.py
2.857 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_raw_input.py
0.443 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_reduce.py
0.817 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_reload.py
1.056 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_renames.py
2.169 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_repr.py
0.599 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_set_literal.py
1.657 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_standarderror.py
0.438 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_sys_exc.py
1.01 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_throw.py
1.545 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_tuple_params.py
5.435 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_types.py
1.732 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_unicode.py
1.227 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_urllib.py
8.157 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_ws_comma.py
1.064 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_xrange.py
2.631 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_xreadlines.py
0.673 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
fix_zip.py
1.259 KB
17 Apr 2024 5.36 PM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF