Skip to content

Commit 208011c

Browse files
committed
Fix Sphinx nitpicky warnings in ftplib.rst
Replace :meth:`makepasv` references (undocumented method) with plain prose to avoid unresolved cross-reference warnings in nitpicky mode.
1 parent 8e6ea02 commit 208011c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Doc/library/ftplib.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278,14 +278,14 @@ FTP objects
278278

279279
.. attribute:: FTP.prefer_epsv
280280

281-
A :class:`bool` that controls whether :meth:`makepasv` tries the EPSV
282-
command (RFC 2428) before falling back to PASV on IPv4 connections.
283-
Defaults to ``True``.
284-
285-
EPSV responses contain only a port number and no IP address, making them
286-
transparent to firewall FTP Application Layer Gateways (ALGs) that
287-
commonly intercept and mangle PASV responses. If the server does not
288-
support EPSV, :meth:`makepasv` falls back to PASV automatically.
281+
A :class:`bool` that controls whether passive mode data connections
282+
try the EPSV command (:rfc:`2428`) before falling back to PASV on IPv4
283+
connections. Defaults to ``True``.
284+
285+
EPSV responses contain only a port number and no IP address, making them
286+
transparent to firewall FTP Application Layer Gateways (ALGs) that
287+
commonly intercept and mangle PASV responses. If the server does not
288+
support EPSV, the connection falls back to PASV automatically.
289289

290290
Set to ``False`` to restore the legacy PASV-first behavior on IPv4.
291291

0 commit comments

Comments
 (0)