summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorYurii Karabas <1998uriyyo@gmail.com>2023-01-14 00:05:43 (GMT)
committerGitHub <noreply@github.com>2023-01-14 00:05:43 (GMT)
commit080cb27829aa1a461d80504b32c362cbc14a5a75 (patch)
tree910a0b68a8f976d58fd9656eb4bcec1429e2a126 /Misc
parent1bc7a736837272b15ad3a7aa472977bc720d1033 (diff)
downloadcpython-080cb27829aa1a461d80504b32c362cbc14a5a75.zip
cpython-080cb27829aa1a461d80504b32c362cbc14a5a75.tar.gz
cpython-080cb27829aa1a461d80504b32c362cbc14a5a75.tar.bz2
gh-74033: Fix bug when Path takes and ignores **kwargs (GH-19632)
Fix a bug where `Path` takes and ignores `**kwargs` by adding to `PurePath` class `__init__` method which can take only positional arguments. Automerge-Triggered-By: GH:brettcannon
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst b/Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
new file mode 100644
index 0000000..010d775
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
@@ -0,0 +1 @@
+Fix a bug where :class:`pathlib.Path` accepted and ignored keyword arguments. Patch provided by Yurii Karabas.