summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-03-27 17:26:13 (GMT)
committerGuido van Rossum <guido@python.org>1992-03-27 17:26:13 (GMT)
commit0c182a13222449ef7624c0e2cbc39ee97fdbf7a7 (patch)
tree6222f3071392cbcd274ff744353355371e816ef1 /Objects
parent96163c1dec1ded2518e6569e7d94cb3a26c00c6b (diff)
downloadcpython-0c182a13222449ef7624c0e2cbc39ee97fdbf7a7.zip
cpython-0c182a13222449ef7624c0e2cbc39ee97fdbf7a7.tar.gz
cpython-0c182a13222449ef7624c0e2cbc39ee97fdbf7a7.tar.bz2
Fix lint bug
Diffstat (limited to 'Objects')
-rw-r--r--Objects/object.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 464d7ea..3b0b7d3 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -77,7 +77,7 @@ printobject(op, fp, flags)
}
else {
if (op->ob_refcnt <= 0)
- fprintf(fp, "(refcnt %d):", op->ob_refcnt);
+ fprintf(fp, "(refcnt %u):", op->ob_refcnt);
if (op->ob_type->tp_print == NULL)
fprintf(fp, "<%s object at %lx>",
op->ob_type->tp_name, (long)op);
@@ -188,6 +188,7 @@ 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;
@@ -198,6 +199,7 @@ none_print(op, fp, flags)
return 0;
}
+/* ARGSUSED */
static object *
none_repr(op)
object *op;