diff options
| author | Victor Stinner <vstinner@python.org> | 2021-04-30 14:56:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-30 14:56:27 +0200 |
| commit | 4908fae3d57f68694cf006e89fd7761f45003447 (patch) | |
| tree | b4168c26f8bc1017606f2308b34ae8bd1f573999 /Python/importlib.h | |
| parent | 0cad068ec174bbe33fb80460da56eb413f3b9359 (diff) | |
| download | cpython-git-4908fae3d57f68694cf006e89fd7761f45003447.tar.gz | |
bpo-43916: PyStdPrinter_Type uses Py_TPFLAGS_DISALLOW_INSTANTIATION (GH-25749)
The PyStdPrinter_Type type now uses the
Py_TPFLAGS_DISALLOW_INSTANTIATION flag to disallow instantiation,
rather than seting a tp_init method which always fail.
Write also unit tests for PyStdPrinter_Type.
Diffstat (limited to 'Python/importlib.h')
0 files changed, 0 insertions, 0 deletions
