Kaydet (Commit) 2fe53f7f authored tarafından Guido van Rossum's avatar Guido van Rossum

The print operation now returns status!

üst 4dd2a7e4
...@@ -28,13 +28,14 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -28,13 +28,14 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Type object implementation */ /* Type object implementation */
static void static int
type_print(v, fp, flags) type_print(v, fp, flags)
typeobject *v; typeobject *v;
FILE *fp; FILE *fp;
int flags; int flags;
{ {
fprintf(fp, "<type '%s'>", v->tp_name); fprintf(fp, "<type '%s'>", v->tp_name);
return 0;
} }
static object * static object *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment