Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c822a45

Browse files
committed
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.)
1 parent de8b026 commit c822a45

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/ftplib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,8 @@ class Netrc:
565565
566566
See the netrc(4) man page for information on the file format.
567567
568+
WARNING: This class is obsolete -- use module netrc instead.
569+
568570
"""
569571
__defuser = None
570572
__defpasswd = None

0 commit comments

Comments
 (0)