https://github.com/python/cpython/commit/7a548e26ac76d3f5b0946b76fd909717dbff78e1
commit: 7a548e26ac76d3f5b0946b76fd909717dbff78e1
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: AlexWaygood <alex.wayg...@gmail.com>
date: 2025-07-09T14:01:23Z
summary:

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

Co-authored-by: Geoffrey Thomas <geo...@ldpreload.com>

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 -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to