mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-141376: Fix exported symbols (GH-141377)
* gh-141376: Fix exported symbols * _io module: add "_Py_" prefix to "spec" variables. For example, rename bufferedrandom_spec to _Py_bufferedrandom_spec. * typevarobject.c: add "static" to "spec" and "slots" variables. * import.c: add "static" to "pkgcontext" variable. * No longer export textiowrapper_slots
This commit is contained in:
parent
92741c59f8
commit
8435a2278f
11 changed files with 55 additions and 55 deletions
|
|
@ -1094,7 +1094,7 @@ static PyType_Slot stringio_slots[] = {
|
|||
{0, NULL},
|
||||
};
|
||||
|
||||
PyType_Spec stringio_spec = {
|
||||
PyType_Spec _Py_stringio_spec = {
|
||||
.name = "_io.StringIO",
|
||||
.basicsize = sizeof(stringio),
|
||||
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue