Skip to content

Commit 21ab173

Browse files
Berthin TorresBerthin Torres
authored andcommitted
add versionadded
1 parent 5b9fcfc commit 21ab173

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/library/netrc.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ the Unix :program:`ftp` program and other FTP clients.
4646
can contain arbitrary characters, like whitespace and non-ASCII characters.
4747
If the login name is anonymous, it won't trigger the security check.
4848

49+
.. versionadded:: next
50+
:class:`netrc` try to use the value of the :envvar:`NETRC` environment variable
51+
if when *file* is not passed as argument, before falling back to the user's
52+
:file:`.netrc` file in the home directory.
53+
4954

5055
.. exception:: NetrcParseError
5156

0 commit comments

Comments
 (0)