https://github.com/python/cpython
Revision 6015cc50bc38b9e920ce4986ee10658eaa14f561 authored by Serhiy Storchaka on 28 October 2018, 11:43:03 UTC, committed by GitHub on 28 October 2018, 11:43:03 UTC
Some projects (e.g. Chameleon) create ast.Str containing an instance
of the str subclass.
1 parent 913876d
Raw File
Tip revision: 6015cc50bc38b9e920ce4986ee10658eaa14f561 authored by Serhiy Storchaka on 28 October 2018, 11:43:03 UTC
bpo-32892: Support subclasses of base types in isinstance checks for AST constants. (GH-9934)
Tip revision: 6015cc5
metagrammar.h
#ifndef Py_METAGRAMMAR_H
#define Py_METAGRAMMAR_H
#ifdef __cplusplus
extern "C" {
#endif


#define MSTART 256
#define RULE 257
#define RHS 258
#define ALT 259
#define ITEM 260
#define ATOM 261

#ifdef __cplusplus
}
#endif
#endif /* !Py_METAGRAMMAR_H */
back to top