{
    "content": [
        {
            "type": "text",
            "text": "# _warnings (pydoc)\n\n## NAME\n\nwarnings\n\n## DESCRIPTION\n\nwarnings provides basic warning filtering support.\nIt is a helper module to speed up interpreter start-up.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **FUNCTIONS** (2 subsections)\n- **DATA**\n- **FILE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "_warnings",
        "section": "",
        "mode": "pydoc",
        "summary": "warnings",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "warn",
                        "lines": 15
                    },
                    {
                        "name": "warn_explicit",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "warnings\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "warnings provides basic warning filtering support.\nIt is a helper module to speed up interpreter start-up.\n",
                "subsections": []
            },
            "FUNCTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "warn",
                        "content": "Issue a warning, or maybe ignore it or raise an exception.\n\nmessage\nText of the warning message.\ncategory\nThe Warning category subclass. Defaults to UserWarning.\nstacklevel\nHow far up the call stack to make this warning appear. A value of 2 for\nexample attributes the warning to the caller of the code calling warn().\nsource\nIf supplied, the destroyed object which emitted a ResourceWarning\nskipfileprefixes\nAn optional tuple of module filename prefixes indicating frames to skip\nduring stacklevel computations for stack frame attribution.\n"
                    },
                    {
                        "name": "warn_explicit",
                        "content": "Issue a warning, or maybe ignore it or raise an exception.\n"
                    }
                ]
            },
            "DATA": {
                "content": "filters = [('default', None, <class 'DeprecationWarning'>, 'main',...\n",
                "subsections": []
            },
            "FILE": {
                "content": "(built-in)\n\n",
                "subsections": []
            }
        }
    }
}