Eric Snow's implementation of PEP 421.

Issue 14673: Add sys.implementation
This commit is contained in:
Barry Warsaw 2012-06-03 16:18:47 -04:00
parent 82ffabdfa4
commit 409da157d7
11 changed files with 541 additions and 3 deletions

17
Include/namespaceobject.h Normal file
View file

@ -0,0 +1,17 @@
/* simple namespace object interface */
#ifndef NAMESPACEOBJECT_H
#define NAMESPACEOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif
PyAPI_DATA(PyTypeObject) _PyNamespace_Type;
PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds);
#ifdef __cplusplus
}
#endif
#endif /* !NAMESPACEOBJECT_H */