summaryrefslogtreecommitdiffstats
path: root/Lib/ftplib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-22 16:49:16 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-22 16:49:16 (GMT)
commitc822a453bd8e69f181b868f77f506a9343dd5483 (patch)
tree607142d74ff19ee936bc9b07f19a21e8f0b4aca6 /Lib/ftplib.py
parentde8b026148166569596c29a3d3d9f5279347efd9 (diff)
downloadcpython-c822a453bd8e69f181b868f77f506a9343dd5483.zip
cpython-c822a453bd8e69f181b868f77f506a9343dd5483.tar.gz
cpython-c822a453bd8e69f181b868f77f506a9343dd5483.tar.bz2
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.)
Diffstat (limited to 'Lib/ftplib.py')
-rw-r--r--Lib/ftplib.py2
1 files changed, 2 insertions, 0 deletions
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