diff options
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r-- | Objects/typeobject.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 22def74..9a221b3 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -3444,10 +3444,10 @@ PyDoc_STRVAR(object_subclasshook_doc, class object: def __format__(self, format_spec): - if isinstance(format_spec, str): - return format(str(self), format_spec) - elif isinstance(format_spec, unicode): - return format(unicode(self), format_spec) + if isinstance(format_spec, str): + return format(str(self), format_spec) + elif isinstance(format_spec, unicode): + return format(unicode(self), format_spec) */ static PyObject * object_format(PyObject *self, PyObject *args) |