mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Docs: unittest.enterModuleContext is not a classmethod (#136464)
This commit is contained in:
parent
77fa7a4dcc
commit
3c43df4dbd
1 changed files with 1 additions and 1 deletions
|
|
@ -2563,7 +2563,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