mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -60,7 +60,7 @@ newstringobject(str)
|
|||
return (object *) op;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
string_dealloc(op)
|
||||
object *op;
|
||||
{
|
||||
|
@ -676,6 +676,8 @@ formatstring(format, args)
|
|||
"unsupported format character");
|
||||
goto error;
|
||||
}
|
||||
/* XXX There's a bug somewhere here so that
|
||||
XXX '%4d'%-1 yields '- 1' ... */
|
||||
if (sign) {
|
||||
if (*buf == '-' || *buf == '+') {
|
||||
sign = *buf++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue