# _imp - pydoc - [phpMan]

Help on built-in module _imp:

## NAME
    _imp - (Extremely) low-level import machinery bits as used by importlib.

## FUNCTIONS
### acquire_lock
        Acquires the interpreter's import lock for the current thread.

        This lock should be used by import hooks to ensure thread-safety when importing
        modules. On platforms without threads, this function does nothing.

### create_builtin
        Create an extension module.

### create_dynamic
        Create an extension module.

### exec_builtin
        Initialize a built-in module.

### exec_dynamic
        Initialize an extension module.

### extension_suffixes
        Returns the list of file suffixes used to identify extension modules.

### find_frozen
        Return info about the corresponding frozen module (if there is one) or None.

        The returned info (a 2-tuple):

         * data         the raw marshalled bytes
         * is_package   whether or not it is a package
         * origname     the originally frozen module's name, or None if not
                        a stdlib module (this will usually be the same as
                        the module's current name)

### get_frozen_object
        Create a code object for a frozen module.

### init_frozen
        Initializes a frozen module.

### is_builtin
        Returns True if the module name corresponds to a built-in module.

### is_frozen
        Returns True if the module name corresponds to a frozen module.

### is_frozen_package
        Returns True if the module name is of a frozen package.

### lock_held
        Return True if the import lock is currently held, else False.

        On platforms without threads, return False.

### release_lock
        Release the interpreter's import lock.

        On platforms without threads, this function does nothing.

### source_hash

## DATA
    check_hash_based_pycs = 'default'

## FILE
    (built-in)


