https://github.com/python/cpython/commit/90717c2cecc20bfbcec7e7c39a99c42b7cbc5f90
commit: 90717c2cecc20bfbcec7e7c39a99c42b7cbc5f90
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: AlexWaygood <[email protected]>
date: 2025-07-09T13:59:40Z
summary:

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

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 dcdda1719bf593..f8028075047cc3 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -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

_______________________________________________
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