mirror of
https://github.com/python/cpython.git
synced 2026-05-04 01:20:58 +00:00
[3.14] Docs: unittest.enterModuleContext is not a classmethod (GH-136464) (#136465)
Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
This commit is contained in:
parent
19518a4205
commit
90717c2cec
1 changed files with 1 additions and 1 deletions
|
|
@ -2556,7 +2556,7 @@ To add cleanup code that must be run even in the case of an exception, use
|
|||
.. versionadded:: 3.8
|
||||
|
||||
|
||||
.. classmethod:: enterModuleContext(cm)
|
||||
.. function:: enterModuleContext(cm)
|
||||
|
||||
Enter the supplied :term:`context manager`. If successful, also
|
||||
add its :meth:`~object.__exit__` method as a cleanup function by
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue