From: Guido van Rossum Date: Tue, 22 Dec 1998 16:49:16 +0000 (+0000) Subject: Add warning to Netrc's docstring that it is obsolete -- use the netrc X-Git-Tag: v1.5.2b1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c822a453bd8e69f181b868f77f506a9343dd5483;p=python 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.) --- diff --git a/Lib/ftplib.py b/Lib/ftplib.py index ac33a127a8..96e83dfc56 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -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