cpython/Lib/json
Miss Islington (bot) f225740211
[3.11] doc: Use super() in subclassed JSONEncoder examples (GH-115565) (GH-116046)
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 647053fed1)

Co-authored-by: Jan Max Meyer <jmm@phorward.de>
2024-02-28 14:08:40 +00:00
..
__init__.py gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-25 01:20:45 -07:00
decoder.py gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-25 01:20:45 -07:00
encoder.py [3.11] doc: Use super() in subclassed JSONEncoder examples (GH-115565) (GH-116046) 2024-02-28 14:08:40 +00:00
scanner.py bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048) 2018-05-22 14:55:07 +03:00
tool.py bpo-45644: Make json.tool read infile before writing to outfile (GH-29273) 2021-11-06 18:11:35 +01:00