mirror of
https://github.com/python/cpython
synced 2026-09-29 09:25:29 +03:00
Eric Snow's implementation of PEP 421.
Issue 14673: Add sys.implementation
This commit is contained in:
parent
82ffabdfa4
commit
409da157d7
11 changed files with 541 additions and 3 deletions
|
|
@ -101,6 +101,7 @@
|
|||
#include "warnings.h"
|
||||
#include "weakrefobject.h"
|
||||
#include "structseq.h"
|
||||
#include "namespaceobject.h"
|
||||
|
||||
#include "codecs.h"
|
||||
#include "pyerrors.h"
|
||||
|
|
|
|||
17
Include/namespaceobject.h
Normal file
17
Include/namespaceobject.h
Normal 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue