]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91219: http - use subclassing to override index_pages attribute (GH-100731)
authorEthan Furman <ethan@stoneleaf.us>
Tue, 3 Jan 2023 23:20:08 +0000 (15:20 -0800)
committerGitHub <noreply@github.com>
Tue, 3 Jan 2023 23:20:08 +0000 (15:20 -0800)
commita286caa937405f7415dcc095a7ad5097c4433246
tree96847365f9697d992ea7e0dba03e37ca9a44bbbc
parent64ed609c532a12b27f67a1e12e9e02f136ee3a94
gh-91219: http - use subclassing to override index_pages attribute (GH-100731)

Remove previously added parameter to `__init__`, and recommend subclassing to modify the `index_pages` attribute instead.
Doc/library/http.server.rst
Lib/http/server.py
Misc/NEWS.d/next/Library/2023-01-03-11-06-28.gh-issue-91219.s5IFCw.rst [new file with mode: 0644]