Guido van Rossum  committed 5fb0c46

Fix typo in attribute name (file should be filename) found by
Neil Norwitz's PyChecker.

  • Participants
  • Parent commits 79efbc9
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/

 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)