Commit 0e389ae
committed
gh-115426: Fix the socket object close() cross-references
The three :meth:`socket.close` references in the socket object section
resolved to the module-level socket.close(fd) function instead of the
socket object's close() method.
close is the only name that is both a module-level function and a socket
method, so the Python domain matched <module>.<target> first; every other
method reference on the page resolves correctly. Qualifying the target as
socket.socket.close, as the neighbouring ioctl and shutdown references
already do, points them at the method.1 parent 77dd973 commit 0e389ae
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
1500 | | - | |
| 1500 | + | |
1501 | 1501 | | |
1502 | 1502 | | |
1503 | 1503 | | |
| |||
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
1547 | | - | |
| 1547 | + | |
1548 | 1548 | | |
1549 | 1549 | | |
1550 | 1550 | | |
| |||
1769 | 1769 | | |
1770 | 1770 | | |
1771 | 1771 | | |
1772 | | - | |
| 1772 | + | |
1773 | 1773 | | |
1774 | 1774 | | |
1775 | 1775 | | |
| |||
0 commit comments