mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
printobject now returns an error code
This commit is contained in:
parent
dd0108081b
commit
909336104b
10 changed files with 70 additions and 86 deletions
|
@ -83,13 +83,14 @@ module_dealloc(m)
|
|||
free((char *)m);
|
||||
}
|
||||
|
||||
static void
|
||||
static int
|
||||
module_print(m, fp, flags)
|
||||
moduleobject *m;
|
||||
FILE *fp;
|
||||
int flags;
|
||||
{
|
||||
fprintf(fp, "<module '%s'>", getstringvalue(m->md_name));
|
||||
return 0;
|
||||
}
|
||||
|
||||
static object *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue