Add warning to Netrc's docstring that it is obsolete -- use the netrc

module instead.  (The main advantage of the latter is that it comes
with documentation.)
This commit is contained in:
Guido van Rossum 1998-12-22 16:49:16 +00:00
parent de8b026148
commit c822a453bd
1 changed files with 2 additions and 0 deletions

View File

@ -565,6 +565,8 @@ class Netrc:
See the netrc(4) man page for information on the file format.
WARNING: This class is obsolete -- use module netrc instead.
"""
__defuser = None
__defpasswd = None