From c822a453bd8e69f181b868f77f506a9343dd5483 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 22 Dec 1998 16:49:16 +0000 Subject: 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.) --- Lib/ftplib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/ftplib.py b/Lib/ftplib.py index ac33a12..96e83df 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 -- cgit v0.12