Add some spaces around {}
This commit is contained in:
parent
408d2ae4c8
commit
6faa9c9842
|
@ -70,11 +70,11 @@ For Python, PyObject_HEAD and PyObject_VAR_HEAD will be changed
|
||||||
to not list all fields anymore, but list a single field of type
|
to not list all fields anymore, but list a single field of type
|
||||||
PyObject/PyVarObject::
|
PyObject/PyVarObject::
|
||||||
|
|
||||||
typedef struct _object{
|
typedef struct _object {
|
||||||
_PyObject_HEAD_EXTRA
|
_PyObject_HEAD_EXTRA
|
||||||
Py_ssize_t ob_refcnt;
|
Py_ssize_t ob_refcnt;
|
||||||
struct _typeobject *ob_type;
|
struct _typeobject *ob_type;
|
||||||
}PyObject;
|
} PyObject;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PyObject ob_base;
|
PyObject ob_base;
|
||||||
|
@ -87,7 +87,7 @@ PyObject/PyVarObject::
|
||||||
Types defined as fixed-size structure will then include PyObject
|
Types defined as fixed-size structure will then include PyObject
|
||||||
as its first field; variable-sized objects PyVarObject. E.g.::
|
as its first field; variable-sized objects PyVarObject. E.g.::
|
||||||
|
|
||||||
typedef struct{
|
typedef struct {
|
||||||
PyObject ob_base;
|
PyObject ob_base;
|
||||||
PyObject *start, *stop, *step;
|
PyObject *start, *stop, *step;
|
||||||
} PySliceObject;
|
} PySliceObject;
|
||||||
|
|
Loading…
Reference in New Issue