diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2023-01-03 23:20:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-03 23:20:08 (GMT) |
commit | a286caa937405f7415dcc095a7ad5097c4433246 (patch) | |
tree | 96847365f9697d992ea7e0dba03e37ca9a44bbbc /Misc | |
parent | 64ed609c532a12b27f67a1e12e9e02f136ee3a94 (diff) | |
download | cpython-a286caa937405f7415dcc095a7ad5097c4433246.zip cpython-a286caa937405f7415dcc095a7ad5097c4433246.tar.gz cpython-a286caa937405f7415dcc095a7ad5097c4433246.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-01-03-11-06-28.gh-issue-91219.s5IFCw.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-01-03-11-06-28.gh-issue-91219.s5IFCw.rst b/Misc/NEWS.d/next/Library/2023-01-03-11-06-28.gh-issue-91219.s5IFCw.rst new file mode 100644 index 0000000..cb5e2e4 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-01-03-11-06-28.gh-issue-91219.s5IFCw.rst @@ -0,0 +1,2 @@ +Change ``SimpleHTTPRequestHandler`` to support subclassing to provide a +different set of index file names instead of using ``__init__`` parameters. |