diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-02-28 14:13:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 14:13:08 (GMT) |
commit | 9df6d1e03338d1d7bc12e0c5e9e2559e2a3ab706 (patch) | |
tree | 9dc6be92c2e3ec03d1edb47c0a616773dae7ccab /Python/compile.c | |
parent | e5e98626a15dd62eccbb6a281ae0263f005f4942 (diff) | |
download | cpython-9df6d1e03338d1d7bc12e0c5e9e2559e2a3ab706.zip cpython-9df6d1e03338d1d7bc12e0c5e9e2559e2a3ab706.tar.gz cpython-9df6d1e03338d1d7bc12e0c5e9e2559e2a3ab706.tar.bz2 |
[3.12] doc: Use super() in subclassed JSONEncoder examples (GH-115565) (GH-116047)
doc: Use super() in subclassed JSONEncoder examples (GH-115565)
Replace calls to `json.JSONEncoder.default(self, obj)`
by `super().default(obj)` within the examples of the documentation.
(cherry picked from commit 647053fed182066d3b8c934fb0bf52ee48ff3911)
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions