summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/set.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-10-09 10:26:17 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-10-09 10:26:17 (GMT)
commit0b68a2d67538703b13d4a824acf736f8ef103dad (patch)
tree24f48762bab91bc3e602a5bc54d346f1427a1a36 /Doc/c-api/set.rst
parent91aaeac0508feebc0b7aa436e634892a472e7e93 (diff)
downloadcpython-0b68a2d67538703b13d4a824acf736f8ef103dad.zip
cpython-0b68a2d67538703b13d4a824acf736f8ef103dad.tar.gz
cpython-0b68a2d67538703b13d4a824acf736f8ef103dad.tar.bz2
Issue 19195: Improved cross-references in C API documentation.
Diffstat (limited to 'Doc/c-api/set.rst')
-rw-r--r--Doc/c-api/set.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/set.rst b/Doc/c-api/set.rst
index 5f0ef90..7f4d534 100644
--- a/Doc/c-api/set.rst
+++ b/Doc/c-api/set.rst
@@ -140,7 +140,7 @@ subtypes but not for instances of :class:`frozenset` or its subtypes.
Return 1 if found and removed, 0 if not found (no action taken), and -1 if an
error is encountered. Does not raise :exc:`KeyError` for missing keys. Raise a
- :exc:`TypeError` if the *key* is unhashable. Unlike the Python :meth:`discard`
+ :exc:`TypeError` if the *key* is unhashable. Unlike the Python :meth:`~set.discard`
method, this function does not automatically convert unhashable sets into
temporary frozensets. Raise :exc:`PyExc_SystemError` if *set* is an not an
instance of :class:`set` or its subtype.