aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1993-12-20 17:26:34 +0000
committerSjoerd Mullender <sjoerd@acm.org>1993-12-20 17:26:34 +0000
commit7030b1ff2dea3012e044e521748444c9c53a40dd (patch)
tree37aab5d675ea420dd5a42295d89787fcdff4b1c0 /Modules/almodule.c
parent* Grammar: corrected old typo (class instead of 'class') (diff)
downloadcpython-7030b1ff2dea3012e044e521748444c9c53a40dd.tar.gz
cpython-7030b1ff2dea3012e044e521748444c9c53a40dd.tar.bz2
cpython-7030b1ff2dea3012e044e521748444c9c53a40dd.zip
almodule.c: added close method, equivalent to closeport.
thread.h: use PROTO instead of _P for prototypes.
Diffstat (limited to 'Modules/almodule.c')
-rw-r--r--Modules/almodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/almodule.c b/Modules/almodule.c
index 26bf38f0888..d731eff16e4 100644
--- a/Modules/almodule.c
+++ b/Modules/almodule.c
@@ -490,6 +490,7 @@ al_getstatus (self, args)
static struct methodlist port_methods[] = {
{"closeport", al_closeport},
+ {"close", al_closeport},
{"getfd", al_getfd},
{"fileno", al_getfd},
{"getfilled", al_getfilled},