summaryrefslogtreecommitdiffstats
path: root/Objects/typeobject.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-10 21:06:27 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-10 21:06:27 (GMT)
commitf0aa88f6e856710c4cf5bdb23a81817a841c4553 (patch)
tree23fa8c9d4d5f27eff0879db451848465a9faeb57 /Objects/typeobject.c
parente1076aa4e2fc164a908fc4a7e775ccf57c32c2c4 (diff)
downloadcpython-f0aa88f6e856710c4cf5bdb23a81817a841c4553.zip
cpython-f0aa88f6e856710c4cf5bdb23a81817a841c4553.tar.gz
cpython-f0aa88f6e856710c4cf5bdb23a81817a841c4553.tar.bz2
Fixed indentation of Python examples in C comments.
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r--Objects/typeobject.c8
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)