]> granicus.if.org Git - python/commitdiff
Add warning to Netrc's docstring that it is obsolete -- use the netrc
authorGuido van Rossum <guido@python.org>
Tue, 22 Dec 1998 16:49:16 +0000 (16:49 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 22 Dec 1998 16:49:16 +0000 (16:49 +0000)
module instead.  (The main advantage of the latter is that it comes
with documentation.)

Lib/ftplib.py

index ac33a127a89a39b1826aaec8ba679e0d54fe7eba..96e83dfc5605b10aa5a2dad1c15e1e9b8ce91603 100644 (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