Skip to content

Commit 6dd66a2

Browse files
committed
Be explicit about socket.getfqdn
1 parent 132e563 commit 6dd66a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/socket.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,8 @@ The :mod:`socket` module also offers various network-related services:
897897
.. function:: getfqdn([name])
898898

899899
Return a fully qualified domain name for *name*. If *name* is omitted or empty,
900-
it is interpreted as the local host. To find the fully qualified name, the
900+
it is interpreted as the local host (as returned by :func:`gethostname`).
901+
To find the fully qualified name, the
901902
hostname returned by :func:`gethostbyaddr` is checked, followed by aliases for the
902903
host, if available. The first name which includes a period is selected. In
903904
case no fully qualified domain name is available and *name* was provided,

0 commit comments

Comments
 (0)