summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/functions.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 93e2f5b..e86e185 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1515,6 +1515,8 @@ are always available. They are listed here in alphabetical order.
of the type of the object together with additional information often
including the name and address of the object. A class can control what this
function returns for its instances by defining a :meth:`__repr__` method.
+ If :func:`sys.displayhook` is not accessible, this function will raise
+ :exc:`RuntimeError`.
.. function:: reversed(seq)