diff options
author | Eric Eastwood <erice@element.io> | 2023-05-16 08:56:42 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2023-05-16 12:33:18 -0500 |
commit | 77cda342be3c81fa8557d208e67dc1662ddb462a (patch) | |
tree | 0cee727fb6f6d4ae773780805d769ced7303a000 /book.toml | |
parent | Fix subscriptable type usage in Python <3.9 (#15604) (diff) | |
download | synapse-77cda342be3c81fa8557d208e67dc1662ddb462a.tar.xz |
`traceback.format_exception(...)` usage that is compatible with Python 3.7 and 3.11 (#15599)
* Usage that is compatible with Python 3.8 and 3.11 > Since Python 3.10, instead of passing value and tb, an exception object can be passed as the first argument. If value and tb are provided, the first argument is ignored in order to provide backwards compatibility. > > -- https://docs.python.org/3/library/traceback.html * Add changelog
Diffstat (limited to 'book.toml')
0 files changed, 0 insertions, 0 deletions