summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2002-09-03 13:25:17 (GMT)
committerSkip Montanaro <skip@pobox.com>2002-09-03 13:25:17 (GMT)
commit8e790e700777cdb0fdecf3acaf53d5ad06784501 (patch)
treec97e4f4b1b7e606ab12c7671b1b6e9ed5fe7ebbd /Misc
parentf62a89b1e09d84fbd60e0356b87430a6ff1e352d (diff)
downloadcpython-8e790e700777cdb0fdecf3acaf53d5ad06784501.zip
cpython-8e790e700777cdb0fdecf3acaf53d5ad06784501.tar.gz
cpython-8e790e700777cdb0fdecf3acaf53d5ad06784501.tar.bz2
expose PYTHON_API_VERSION macro as sys.api_version. Closes patch # 601456.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ad87762..37ed63a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -303,6 +303,10 @@ Extension modules
- signal.sigpending, signal.sigprocmask and signal.sigsuspend have
been added where available.
+- The sys module acquired a new attribute, api_version, which evaluates
+ to the value of the PYTHON_API_VERSION macro with which the
+ interpreter was compiled.
+
Library
- New module: sets, defines the class Set that implements a mutable