summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Documentation/2019-03-26-14-58-34.bpo-36345.r2stx3.rst
diff options
context:
space:
mode:
authorStéphane Wirtel <stephane@wirtel.be>2019-04-16 12:52:54 (GMT)
committerGitHub <noreply@github.com>2019-04-16 12:52:54 (GMT)
commit2b7f93b99afbe78e4e567d9252d9470d29f387c8 (patch)
treed55ea2d06b9c3f31d3011ae66a583f011e8c8963 /Misc/NEWS.d/next/Documentation/2019-03-26-14-58-34.bpo-36345.r2stx3.rst
parent6fa84bd12c4b83bee6a41b989363230d5c03b96c (diff)
downloadcpython-2b7f93b99afbe78e4e567d9252d9470d29f387c8.zip
cpython-2b7f93b99afbe78e4e567d9252d9470d29f387c8.tar.gz
cpython-2b7f93b99afbe78e4e567d9252d9470d29f387c8.tar.bz2
bpo-36345: Update wsgiref example (GH-12562)
Use literalinclude markup to include Tools/scripts/serve.py code. Tools/scripts/serve.py first argument on the command line is now optional.
Diffstat (limited to 'Misc/NEWS.d/next/Documentation/2019-03-26-14-58-34.bpo-36345.r2stx3.rst')
-rw-r--r--Misc/NEWS.d/next/Documentation/2019-03-26-14-58-34.bpo-36345.r2stx3.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2019-03-26-14-58-34.bpo-36345.r2stx3.rst b/Misc/NEWS.d/next/Documentation/2019-03-26-14-58-34.bpo-36345.r2stx3.rst
new file mode 100644
index 0000000..bbecc94
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2019-03-26-14-58-34.bpo-36345.r2stx3.rst
@@ -0,0 +1,3 @@
+Avoid the duplication of code from ``Tools/scripts/serve.py`` in using the
+:rst:dir:`literalinclude` directive for the basic wsgiref-based web server in the
+documentation of :mod:`wsgiref`. Contributed by Stéphane Wirtel.