File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,6 +207,8 @@ Functions and classes provided:
207207 foundation for higher level context managers that manipulate the exit
208208 stack in application specific ways.
209209
210+ .. versionadded :: 3.3
211+
210212 .. method :: enter_context(cm)
211213
212214 Enters a new context manager and adds its :meth: `__exit__ ` method to
@@ -270,8 +272,6 @@ Functions and classes provided:
270272 callbacks registered, the arguments passed in will indicate that no
271273 exception occurred.
272274
273- .. versionadded :: 3.3
274-
275275
276276Examples and Recipes
277277--------------------
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ Dynamic Type Creation
3030 The *exec_body * callback should accept the class namespace as its sole
3131 argument and update the namespace directly with the class contents.
3232
33+ .. versionadded :: 3.3
34+
3335.. function :: prepare_class(name, bases=(), kwds=None)
3436
3537 Calculates the appropriate metaclass and creates the class namespace.
@@ -46,6 +48,7 @@ Dynamic Type Creation
4648 ``'metaclass' `` entry removed. If no *kwds * argument is passed in, this
4749 will be an empty dict.
4850
51+ .. versionadded :: 3.3
4952
5053.. seealso ::
5154
You can’t perform that action at this time.
0 commit comments