mirror of
https://github.com/python/cpython.git
synced 2025-10-14 10:53:40 +00:00
* Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.
Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close().
This commit is contained in:
parent
6a0e2282c3
commit
234f942aef
33 changed files with 299 additions and 124 deletions
|
@ -744,9 +744,9 @@ sock_send(s, args)
|
|||
char *buf;
|
||||
int len, n, flags;
|
||||
flags = 0;
|
||||
if (!getargs(args, "(s#)", &buf, &len)) {
|
||||
if (!getargs(args, "s#", &buf, &len)) {
|
||||
err_clear();
|
||||
if (!getargs(args, "s#", &buf, &len, &flags))
|
||||
if (!getargs(args, "(s#i)", &buf, &len, &flags))
|
||||
return NULL;
|
||||
}
|
||||
BGN_SAVE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue