diff options
author | Guido van Rossum <guido@python.org> | 2001-04-15 12:51:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-04-15 12:51:42 (GMT) |
commit | 815bee4cf455983e0b9d6c7ebef442141f792050 (patch) | |
tree | c221ab440d9a82deaf871dadb6bb92dfd7bf382d /Lib | |
parent | 0d1b7ea365c2e299a1de4df1243927ffdfcd74d7 (diff) | |
download | cpython-815bee4cf455983e0b9d6c7ebef442141f792050.zip cpython-815bee4cf455983e0b9d6c7ebef442141f792050.tar.gz cpython-815bee4cf455983e0b9d6c7ebef442141f792050.tar.bz2 |
Fix typo in attribute name (file should be filename) found by
Neil Norwitz's PyChecker.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/netrc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/netrc.py b/Lib/netrc.py index b9ce6ba..3f1c7c3 100644 --- a/Lib/netrc.py +++ b/Lib/netrc.py @@ -10,7 +10,7 @@ __all__ = ["netrc", "NetrcParseError"] class NetrcParseError(Exception): """Exception raised on syntax errors in the .netrc file.""" def __init__(self, msg, filename=None, lineno=None): - self.filename = file + self.filename = filename self.lineno = lineno self.msg = msg Exception.__init__(self, msg) |