Skip to content

Commit 20f8926

Browse files
geofftPranjal095
authored andcommitted
Docs: unittest.enterModuleContext is not a classmethod (python#136464)
1 parent f1b1766 commit 20f8926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/unittest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,7 @@ To add cleanup code that must be run even in the case of an exception, use
25632563
.. versionadded:: 3.8
25642564

25652565

2566-
.. classmethod:: enterModuleContext(cm)
2566+
.. function:: enterModuleContext(cm)
25672567

25682568
Enter the supplied :term:`context manager`. If successful, also
25692569
add its :meth:`~object.__exit__` method as a cleanup function by

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy