summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>2019-08-20 14:46:36 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-08-20 14:46:36 (GMT)
commit9e66aba99925eebacfe137d9deb0ef1fdbc2d5db (patch)
treee9353ac99e9911959aadb9092ae35237ec06b5e2 /Misc
parent18f8dcfa10d8a858b152d12a9ad8fa83b7e967f0 (diff)
downloadcpython-9e66aba99925eebacfe137d9deb0ef1fdbc2d5db.zip
cpython-9e66aba99925eebacfe137d9deb0ef1fdbc2d5db.tar.gz
cpython-9e66aba99925eebacfe137d9deb0ef1fdbc2d5db.tar.bz2
bpo-15913: Implement PyBuffer_SizeFromFormat() (GH-13873)
Implement PyBuffer_SizeFromFormat() function (previously documented but not implemented): call struct.calcsize().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-06-06-20-52-38.bpo-15913.5Sg5cv.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-06-06-20-52-38.bpo-15913.5Sg5cv.rst b/Misc/NEWS.d/next/Core and Builtins/2019-06-06-20-52-38.bpo-15913.5Sg5cv.rst
new file mode 100644
index 0000000..0fbfcb3
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-06-06-20-52-38.bpo-15913.5Sg5cv.rst
@@ -0,0 +1,3 @@
+Implement :c:func:`PyBuffer_SizeFromFormat()` function (previously
+documented but not implemented): call :func:`struct.calcsize`.
+Patch by Joannah Nanjekye.