summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorXtreak <tirkarthi@users.noreply.github.com>2018-12-12 07:54:54 (GMT)
committerChris Withers <chris@withers.org>2018-12-12 07:54:54 (GMT)
commitf7fa62ef4422c9deee050a794fd8504640d9f8f4 (patch)
tree1a55b52b7e7d8122b3ee33f4d18c2adf018c63ea /Misc/NEWS.d
parent5344501ad166c1380be452644a863a4679c4291b (diff)
downloadcpython-f7fa62ef4422c9deee050a794fd8504640d9f8f4.zip
cpython-f7fa62ef4422c9deee050a794fd8504640d9f8f4.tar.gz
cpython-f7fa62ef4422c9deee050a794fd8504640d9f8f4.tar.bz2
bpo-17185: Add __signature__ to mock that can be used by inspect for signature (GH11048)
* Fix partial and partial method signatures in mock * Add more calls * Add NEWS entry * Use assertEquals and fix markup in NEWS * Refactor branching and add markup reference for functools * Revert partial object related changes and fix pr comments
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2018-12-09-17-04-15.bpo-17185.SfSCJF.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-12-09-17-04-15.bpo-17185.SfSCJF.rst b/Misc/NEWS.d/next/Library/2018-12-09-17-04-15.bpo-17185.SfSCJF.rst
new file mode 100644
index 0000000..311c6d2b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-12-09-17-04-15.bpo-17185.SfSCJF.rst
@@ -0,0 +1,2 @@
+Set ``__signature__`` on mock for :mod:`inspect` to get signature.
+Patch by Karthikeyan Singaravelan.