Skip to content

Commit 815bee4

Browse files
committed
Fix typo in attribute name (file should be filename) found by
Neil Norwitz's PyChecker.
1 parent 0d1b7ea commit 815bee4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/netrc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class NetrcParseError(Exception):
1111
"""Exception raised on syntax errors in the .netrc file."""
1212
def __init__(self, msg, filename=None, lineno=None):
13-
self.filename = file
13+
self.filename = filename
1414
self.lineno = lineno
1515
self.msg = msg
1616
Exception.__init__(self, msg)

0 commit comments

Comments
 (0)