Markdown Format | JSON API | MCP Server Tool
Help on module netrc: NAME netrc - An object-oriented interface to .netrc files. MODULE REFERENCE https://docs.python.org/3.10/library/netrc.html The following documentation is automatically generated from the Python source files. It may be incomplete, incorrect or include features that are considered implementation detail and may vary between Python implementations. When in doubt, consult the module reference at the location listed above. CLASSES builtins.Exception(builtins.BaseException) NetrcParseError builtins.object netrc class NetrcParseError(builtins.Exception) | NetrcParseError(msg, filename=None, lineno=None) | | Exception raised on syntax errors in the .netrc file. | | Method resolution order: | NetrcParseError | builtins.Exception | builtins.BaseException | builtins.object | | Methods defined here: | | __init__(self, msg, filename=None, lineno=None) | Initialize self. See help(type(self)) for accurate signature. | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __weakref__ | list of weak references to the object (if defined) | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) from builtins.type | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __delattr__(self, name, /) | Implement delattr(self, name). | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setattr__(self, name, value, /) | Implement setattr(self, name, value). | | __setstate__(...) | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __dict__ | | __suppress_context__ | | __traceback__ | | args class netrc(builtins.object) | netrc(file=None) | | Methods defined here: | | __init__(self, file=None) | Initialize self. See help(type(self)) for accurate signature. | | __repr__(self) | Dump the class data in the format of a .netrc file. | | authenticators(self, host) | Return a (user, account, password) tuple for given host. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) DATA __all__ = ['netrc', 'NetrcParseError'] FILE /usr/lib/python3.10/netrc.py
Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:14 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)