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 3383d6a commit 21a9280Copy full SHA for 21a9280
Doc/library/socket.rst
@@ -966,7 +966,8 @@ The :mod:`socket` module also offers various network-related services:
966
.. function:: getfqdn([name])
967
968
Return a fully qualified domain name for *name*. If *name* is omitted or empty,
969
- 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`).
970
+ To find the fully qualified name, the
971
hostname returned by :func:`gethostbyaddr` is checked, followed by aliases for the
972
host, if available. The first name which includes a period is selected. In
973
case no fully qualified domain name is available and *name* was provided,
0 commit comments