mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
* Makefile: added IMGFILE; moved some stuff around.
* flmodule.c: added some missing functions; changed readonly flags of some data members based upon FORMS documentation. * listobject.c: fixed int/long arg lint bug (bites PC compilers). * several: removed redundant print methods (repr is good enough). * posixmodule.c: added (still experimental) process group functions.
This commit is contained in:
parent
c2670a000b
commit
7066dd75c5
11 changed files with 126 additions and 142 deletions
|
@ -206,17 +206,6 @@ There is (and should be!) no way to create other objects of this type,
|
|||
so there is exactly one (which is indestructible, by the way).
|
||||
*/
|
||||
|
||||
/* ARGSUSED */
|
||||
static int
|
||||
none_print(op, fp, flags)
|
||||
object *op;
|
||||
FILE *fp;
|
||||
int flags;
|
||||
{
|
||||
fprintf(fp, "None");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
static object *
|
||||
none_repr(op)
|
||||
|
@ -232,7 +221,7 @@ static typeobject Notype = {
|
|||
0,
|
||||
0,
|
||||
0, /*tp_dealloc*/ /*never called*/
|
||||
none_print, /*tp_print*/
|
||||
0, /*tp_print*/
|
||||
0, /*tp_getattr*/
|
||||
0, /*tp_setattr*/
|
||||
0, /*tp_compare*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue