summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1993-12-20 17:26:34 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1993-12-20 17:26:34 (GMT)
commit7030b1ff2dea3012e044e521748444c9c53a40dd (patch)
tree37aab5d675ea420dd5a42295d89787fcdff4b1c0 /Modules
parent248a50c168c5368cb3e677ffe45e824771b1ddc0 (diff)
downloadcpython-7030b1ff2dea3012e044e521748444c9c53a40dd.zip
cpython-7030b1ff2dea3012e044e521748444c9c53a40dd.tar.gz
cpython-7030b1ff2dea3012e044e521748444c9c53a40dd.tar.bz2
almodule.c: added close method, equivalent to closeport.
thread.h: use PROTO instead of _P for prototypes.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/almodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/almodule.c b/Modules/almodule.c
index 26bf38f..d731eff 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},