forked from GitHub/gf-core
Type initialiser accepts sequences, stores internally as tuples. Add tests which try to break things.
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
PyObject *hypos; // PyListObject of PyTupleObject: (PyBool, PyUnicodeObject, TypeObject)
|
||||
PyObject *hypos; // PyTupleObject of PyTupleObject: (PyBool, PyUnicodeObject, TypeObject)
|
||||
PyObject *name; // PyUnicodeObject
|
||||
PyObject *exprs; // PyListObject of ExprObject
|
||||
PyObject *exprs; // PyTupleObject of ExprObject
|
||||
} TypeObject;
|
||||
|
||||
PyTypeObject pgf_TypeType;
|
||||
|
||||
Reference in New Issue
Block a user