summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2022-09-02 16:10:58 (GMT)
committerGitHub <noreply@github.com>2022-09-02 16:10:58 (GMT)
commit656167db81a53934da55d90ed431449d8a4fc14b (patch)
tree7c7a16ea4f63ee2b8557cc8496549f4dd79dc18e /Misc
parent91f40f3f78d6016a283989e32ec3d1fb61bcebca (diff)
downloadcpython-656167db81a53934da55d90ed431449d8a4fc14b.zip
cpython-656167db81a53934da55d90ed431449d8a4fc14b.tar.gz
cpython-656167db81a53934da55d90ed431449d8a4fc14b.tar.bz2
Allow whitespace around a slash in fraction string inputs (GH-96496)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Documentation/2022-09-01-17-03-04.gh-issue-96432.1EJ1-4.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2022-09-01-17-03-04.gh-issue-96432.1EJ1-4.rst b/Misc/NEWS.d/next/Documentation/2022-09-01-17-03-04.gh-issue-96432.1EJ1-4.rst
new file mode 100644
index 0000000..a5858f4
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2022-09-01-17-03-04.gh-issue-96432.1EJ1-4.rst
@@ -0,0 +1,2 @@
+Fraction literals now support whitespace around the forward slash,
+`Fraction('2 / 3')`.