diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2009-07-04 02:28:47 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2009-07-04 02:28:47 (GMT) |
commit | b970b869750ffbd0576153d26e7416e583225f44 (patch) | |
tree | 7ba427aefdabc97c459ed0e37c7bfc9e58a8bc0b /Modules | |
parent | 05bf01aeae0c917276371a59b40bf9a6df9e78ce (diff) | |
download | cpython-b970b869750ffbd0576153d26e7416e583225f44.zip cpython-b970b869750ffbd0576153d26e7416e583225f44.tar.gz cpython-b970b869750ffbd0576153d26e7416e583225f44.tar.bz2 |
Merged revisions 73818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73818 | gregory.p.smith | 2009-07-03 13:48:31 -0700 (Fri, 03 Jul 2009) | 2 lines
Adds the select.PIPE_BUF attribute to expose the system constant.
........
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/selectmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 191296e..0855375 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -1764,6 +1764,8 @@ PyInit_select(void) Py_INCREF(SelectError); PyModule_AddObject(m, "error", SelectError); + PyModule_AddIntConstant(m, "PIPE_BUF", PIPE_BUF); + #if defined(HAVE_POLL) #ifdef __APPLE__ if (select_have_broken_poll()) { |