]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Doc: sys.__unraisablehook__ and bytearray.hex separators are new in 3.8 (GH-17884)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Feb 2020 00:54:06 +0000 (16:54 -0800)
committerGitHub <noreply@github.com>
Sat, 8 Feb 2020 00:54:06 +0000 (16:54 -0800)
commit0c915e620d049558bacc78cf25c1560f55d1fb82
tree288a296c87ae5b8b4c0076a4c5cc02882b085f86
parent8b9cebce09cb6919fdb97d8e608288a503681d13
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>
Doc/library/stdtypes.rst
Doc/library/sys.rst