{
    "content": [
        {
            "type": "text",
            "text": "# _imp (pydoc)\n\n**Summary:** imp - (Extremely) low-level import machinery bits as used by importlib and imp.\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **FUNCTIONS** (1 lines) — 14 subsections\n  - acquire_lock (5 lines)\n  - create_builtin (2 lines)\n  - create_dynamic (2 lines)\n  - exec_builtin (2 lines)\n  - exec_dynamic (2 lines)\n  - extension_suffixes (2 lines)\n  - get_frozen_object (2 lines)\n  - init_frozen (2 lines)\n  - is_builtin (2 lines)\n  - is_frozen (2 lines)\n  - is_frozen_package (2 lines)\n  - lock_held (4 lines)\n  - release_lock (4 lines)\n  - source_hash (1 lines)\n- **DATA** (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nimp - (Extremely) low-level import machinery bits as used by importlib and imp.\n\n### FUNCTIONS\n\n#### acquire_lock\n\nAcquires the interpreter's import lock for the current thread.\n\nThis lock should be used by import hooks to ensure thread-safety when importing\nmodules. On platforms without threads, this function does nothing.\n\n#### create_builtin\n\nCreate an extension module.\n\n#### create_dynamic\n\nCreate an extension module.\n\n#### exec_builtin\n\nInitialize a built-in module.\n\n#### exec_dynamic\n\nInitialize an extension module.\n\n#### extension_suffixes\n\nReturns the list of file suffixes used to identify extension modules.\n\n#### get_frozen_object\n\nCreate a code object for a frozen module.\n\n#### init_frozen\n\nInitializes a frozen module.\n\n#### is_builtin\n\nReturns True if the module name corresponds to a built-in module.\n\n#### is_frozen\n\nReturns True if the module name corresponds to a frozen module.\n\n#### is_frozen_package\n\nReturns True if the module name is of a frozen package.\n\n#### lock_held\n\nReturn True if the import lock is currently held, else False.\n\nOn platforms without threads, return False.\n\n#### release_lock\n\nRelease the interpreter's import lock.\n\nOn platforms without threads, this function does nothing.\n\n#### source_hash\n\n### DATA\n\ncheckhashbasedpycs = 'default'\n\n### FILE\n\n(built-in)\n\n"
        }
    ],
    "structuredContent": {
        "command": "_imp",
        "section": "",
        "mode": "pydoc",
        "summary": "imp - (Extremely) low-level import machinery bits as used by importlib and imp.",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "acquire_lock",
                        "lines": 5
                    },
                    {
                        "name": "create_builtin",
                        "lines": 2
                    },
                    {
                        "name": "create_dynamic",
                        "lines": 2
                    },
                    {
                        "name": "exec_builtin",
                        "lines": 2
                    },
                    {
                        "name": "exec_dynamic",
                        "lines": 2
                    },
                    {
                        "name": "extension_suffixes",
                        "lines": 2
                    },
                    {
                        "name": "get_frozen_object",
                        "lines": 2
                    },
                    {
                        "name": "init_frozen",
                        "lines": 2
                    },
                    {
                        "name": "is_builtin",
                        "lines": 2
                    },
                    {
                        "name": "is_frozen",
                        "lines": 2
                    },
                    {
                        "name": "is_frozen_package",
                        "lines": 2
                    },
                    {
                        "name": "lock_held",
                        "lines": 4
                    },
                    {
                        "name": "release_lock",
                        "lines": 4
                    },
                    {
                        "name": "source_hash",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}