mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
almodule.c: added close method, equivalent to closeport.
thread.h: use PROTO instead of _P for prototypes.
This commit is contained in:
parent
248a50c168
commit
7030b1ff2d
3 changed files with 37 additions and 36 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue