MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __init__

Method __init__

tools/python-3.11.9-amd64/Lib/netrc.py:12–16  ·  view source on GitHub ↗
(self, msg, filename=None, lineno=None)

Source from the content-addressed store, hash-verified

10class NetrcParseError(Exception):
11 """Exception raised on syntax errors in the .netrc file."""
12 def __init__(self, msg, filename=None, lineno=None):
13 self.filename = filename
14 self.lineno = lineno
15 self.msg = msg
16 Exception.__init__(self, msg)
17
18 def __str__(self):
19 return "%s (%s, line %s)" % (self.msg, self.filename, self.lineno)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected