mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +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
|
@ -28,17 +28,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include "cgensupport.h"
|
||||
|
||||
|
||||
/* Functions to construct return values */
|
||||
|
||||
object *
|
||||
mknewcharobject(c)
|
||||
int c;
|
||||
{
|
||||
char ch[1];
|
||||
ch[0] = c;
|
||||
return newsizedstringobject(ch, 1);
|
||||
}
|
||||
|
||||
/* Functions to extract arguments.
|
||||
These needs to know the total number of arguments supplied,
|
||||
since the argument list is a tuple only of there is more than
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue