summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2008-06-10 14:07:12 (GMT)
committerThomas Heller <theller@ctypes.org>2008-06-10 14:07:12 (GMT)
commit1cec7aa7c73163d2ec3ca793ec76be698f4c6558 (patch)
tree82d67ed6fe19272951c3d00e89ccea9a69aa8beb
parentdcea9a91c6235948976fc40979fdc57e74266d3b (diff)
downloadcpython-1cec7aa7c73163d2ec3ca793ec76be698f4c6558.zip
cpython-1cec7aa7c73163d2ec3ca793ec76be698f4c6558.tar.gz
cpython-1cec7aa7c73163d2ec3ca793ec76be698f4c6558.tar.bz2
NEWS entry for:
Add an optional 'offset' parameter to byref, defaulting to zero.
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f36b414..4b9f21c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -77,6 +77,10 @@ Extension Modules
Library
-------
+- The ctypes.byref function now takes an optional second parameter
+ which allows to specify an offset in bytes for the constructed
+ pointer-like object.
+
- Added the ast module.
- Factored out the indentation cleaning from inspect.getdoc() into