Skip to content

Commit 6052038

Browse files
committed
remove dead paragraphs
1 parent d71f3e6 commit 6052038

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

Doc/deprecations/c-api-pending-removal-in-3.15.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ Pending removal in Python 3.15
2020
* :c:func:`!PyUnicode_AsEncodedUnicode`:
2121
Use :c:func:`PyCodec_Encode` instead; Note that some codecs (for example, "base64")
2222
may return a type other than :class:`bytes`, such as :class:`str`.
23-
* Python initialization functions, deprecated in Python 3.13:
24-
25-
The `pythoncapi-compat project
26-
<https://github.com/python/pythoncapi-compat/>`__ can be used to get
27-
:c:func:`PyConfig_Get` on Python 3.13 and older.
2823

2924
* Functions to configure Python's initialization, deprecated in Python 3.11:
3025

Lib/test/test_embed.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,21 +1705,6 @@ def test_getpath_abspath_win32(self):
17051705
for (_, expected), result in zip(CASES, results):
17061706
self.assertEqual(result, expected)
17071707

1708-
def test_global_pathconfig(self):
1709-
# Test C API functions getting the path configuration:
1710-
#
1711-
# The global path configuration (_Py_path_config) must be a copy
1712-
# of the path configuration of PyInterpreter.config (PyConfig).
1713-
ctypes = import_helper.import_module('ctypes')
1714-
1715-
def get_func(name):
1716-
func = getattr(ctypes.pythonapi, name)
1717-
func.argtypes = ()
1718-
func.restype = ctypes.c_wchar_p
1719-
return func
1720-
1721-
config = _testinternalcapi.get_configs()['config']
1722-
17231708
def test_init_warnoptions(self):
17241709
# lowest to highest priority
17251710
warnoptions = [

0 commit comments

Comments
 (0)