We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132e563 commit 6dd66a2Copy full SHA for 6dd66a2
Doc/library/socket.rst
@@ -897,7 +897,8 @@ The :mod:`socket` module also offers various network-related services:
897
.. function:: getfqdn([name])
898
899
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
+ it is interpreted as the local host (as returned by :func:`gethostname`).
901
+ To find the fully qualified name, the
902
hostname returned by :func:`gethostbyaddr` is checked, followed by aliases for the
903
host, if available. The first name which includes a period is selected. In
904
case no fully qualified domain name is available and *name* was provided,
0 commit comments