https://github.com/python/cpython/commit/7a548e26ac76d3f5b0946b76fd909717dbff78e1
commit: 7a548e26ac76d3f5b0946b76fd909717dbff78e1
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: AlexWaygood <[email protected]>
date: 2025-07-09T14:01:23Z
summary:

[3.13] Docs: unittest.enterModuleContext is not a classmethod (GH-136464) 
(#136466)

Co-authored-by: Geoffrey Thomas <[email protected]>

files:
M Doc/library/unittest.rst

diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 3e9056a458bfc3..5aa0e6ad5f5507 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -2500,7 +2500,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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to