{
    "content": [
        {
            "type": "text",
            "text": "# netrc (pydoc)\n\n**Summary:** netrc - An object-oriented interface to .netrc files.\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **MODULE REFERENCE** (8 lines)\n- **CLASSES** (5 lines) — 2 subsections\n  - class NetrcParseError (71 lines)\n  - class netrc (22 lines)\n- **DATA** (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nnetrc - An object-oriented interface to .netrc files.\n\n### MODULE REFERENCE\n\nhttps://docs.python.org/3.10/library/netrc.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### CLASSES\n\nbuiltins.Exception(builtins.BaseException)\nNetrcParseError\nbuiltins.object\nnetrc\n\n#### class NetrcParseError\n\n|  NetrcParseError(msg, filename=None, lineno=None)\n|\n|  Exception raised on syntax errors in the .netrc file.\n|\n|  Method resolution order:\n|      NetrcParseError\n|      builtins.Exception\n|      builtins.BaseException\n|      builtins.object\n|\n|  Methods defined here:\n|\n|  init(self, msg, filename=None, lineno=None)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  str(self)\n|      Return str(self).\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from builtins.Exception:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from builtins.BaseException:\n|\n|  delattr(self, name, /)\n|      Implement delattr(self, name).\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  setattr(self, name, value, /)\n|      Implement setattr(self, name, value).\n|\n|  setstate(...)\n|\n|  withtraceback(...)\n|      Exception.withtraceback(tb) --\n|      set self.traceback to tb and return self.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from builtins.BaseException:\n|\n|  cause\n|      exception cause\n|\n|  context\n|      exception context\n|\n|  dict\n|\n|  suppresscontext\n|\n|  traceback\n|\n|  args\n\n#### class netrc\n\n|  netrc(file=None)\n|\n|  Methods defined here:\n|\n|  init(self, file=None)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  repr(self)\n|      Dump the class data in the format of a .netrc file.\n|\n|  authenticators(self, host)\n|      Return a (user, account, password) tuple for given host.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n\n### DATA\n\nall = ['netrc', 'NetrcParseError']\n\n### FILE\n\n/usr/lib/python3.10/netrc.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "netrc",
        "section": "",
        "mode": "pydoc",
        "summary": "netrc - An object-oriented interface to .netrc files.",
        "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": "CLASSES",
                "lines": 5,
                "subsections": [
                    {
                        "name": "class NetrcParseError",
                        "lines": 71
                    },
                    {
                        "name": "class netrc",
                        "lines": 22
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}