[Python-checkins] r55524 - peps/trunk/pep-3123.txt

neal.norwitz python-checkins at python.org
Wed May 23 07:30:29 CEST 2007


Author: neal.norwitz
Date: Wed May 23 07:30:28 2007
New Revision: 55524

Modified:
   peps/trunk/pep-3123.txt
Log:
Add some spaces around {}

Modified: peps/trunk/pep-3123.txt
==============================================================================
--- peps/trunk/pep-3123.txt	(original)
+++ peps/trunk/pep-3123.txt	Wed May 23 07:30:28 2007
@@ -70,11 +70,11 @@
 to not list all fields anymore, but list a single field of type
 PyObject/PyVarObject::
 
-  typedef struct _object{
+  typedef struct _object {
     _PyObject_HEAD_EXTRA
     Py_ssize_t ob_refcnt;
     struct _typeobject *ob_type;
-  }PyObject;
+  } PyObject;
 
   typedef struct {
     PyObject ob_base;
@@ -87,7 +87,7 @@
 Types defined as fixed-size structure will then include PyObject
 as its first field; variable-sized objects PyVarObject. E.g.::
 
-  typedef struct{
+  typedef struct {
     PyObject ob_base;
     PyObject *start, *stop, *step;
   } PySliceObject;


More information about the Python-checkins mailing list