summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-02-08 00:54:06 (GMT)
committerGitHub <noreply@github.com>2020-02-08 00:54:06 (GMT)
commit0c915e620d049558bacc78cf25c1560f55d1fb82 (patch)
tree288a296c87ae5b8b4c0076a4c5cc02882b085f86 /Doc/library/sys.rst
parent8b9cebce09cb6919fdb97d8e608288a503681d13 (diff)
downloadcpython-0c915e620d049558bacc78cf25c1560f55d1fb82.zip
cpython-0c915e620d049558bacc78cf25c1560f55d1fb82.tar.gz
cpython-0c915e620d049558bacc78cf25c1560f55d1fb82.tar.bz2
Doc: sys.__unraisablehook__ and bytearray.hex separators are new in 3.8 (GH-17884)
Minor fix in documentation: - `sys.__unraisablehook__` is new in version 3.8 - Optional `sep` and `bytes_per_sep` parameters for `bytearray.hex` is also supported in Python 3.8 (just like `bytes.hex`) (cherry picked from commit 0edc2c7678266c39a7ceb2df885cb050f887e32b) Co-authored-by: Saiyang Gou <gousaiyang@163.com>
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index e1d93f8..d3473de 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -343,6 +343,8 @@ always available.
.. versionadded:: 3.7
__breakpointhook__
+ .. versionadded:: 3.8
+ __unraisablehook__
.. function:: exc_info()