{
    "content": [
        {
            "type": "text",
            "text": "# importlib (pydoc)\n\n**Summary:** importlib - A pure Python implementation of import.\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **MODULE REFERENCE** (8 lines)\n- **PACKAGE CONTENTS** (12 lines)\n- **FUNCTIONS** (10 lines) — 3 subsections\n  - import_module (6 lines)\n  - invalidate_caches (3 lines)\n  - reload (4 lines)\n- **DATA** (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nimportlib - A pure Python implementation of import.\n\n### MODULE REFERENCE\n\nhttps://docs.python.org/3.10/library/importlib.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n\n### PACKAGE CONTENTS\n\nabc\nadapters\nbootstrap\nbootstrapexternal\ncommon\nabc\nmachinery\nmetadata (package)\nreaders\nresources\nutil\n\n### FUNCTIONS\n\nimport(name, globals=None, locals=None, fromlist=(), level=0)\nImport a module.\n\nThe 'globals' argument is used to infer where the import is occurring from\nto handle relative imports. The 'locals' argument is ignored. The\n'fromlist' argument specifies what should exist as attributes on the module\nbeing imported (e.g. ``from module import <fromlist>``).  The 'level'\nargument represents the package location to import from in a relative\nimport (e.g. ``from ..pkg import mod`` would have a 'level' of 2).\n\n#### import_module\n\nImport a module.\n\nThe 'package' argument is required when performing a relative import. It\nspecifies the package to use as the anchor point from which to resolve the\nrelative import to an absolute import.\n\n#### invalidate_caches\n\nCall the invalidatecaches() method on all meta path finders stored in\nsys.metapath (where implemented).\n\n#### reload\n\nReload the module and return it.\n\nThe module must have been successfully imported before.\n\n### DATA\n\nall = ['import', 'importmodule', 'invalidatecaches', 'reload...\n\n### FILE\n\n/usr/lib/python3.10/importlib/init.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "importlib",
        "section": "",
        "mode": "pydoc",
        "summary": "importlib - A pure Python implementation of import.",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MODULE REFERENCE",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "PACKAGE CONTENTS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 10,
                "subsections": [
                    {
                        "name": "import_module",
                        "lines": 6
                    },
                    {
                        "name": "invalidate_caches",
                        "lines": 3
                    },
                    {
                        "name": "reload",
                        "lines": 4
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}