@@ -166,17 +166,17 @@ The :mod:`!abc` module also provides the following decorator:
166166 or is derived from it. A class that has a metaclass derived from
167167 :class: `!ABCMeta ` cannot be instantiated unless all of its abstract methods
168168 and properties are overridden. The abstract methods can be called using any
169- of the normal 'super' call mechanisms. :func : `!abstractmethod ` may be used
169+ of the normal 'super' call mechanisms. :deco : `!abstractmethod ` may be used
170170 to declare abstract methods for properties and descriptors.
171171
172172 Dynamically adding abstract methods to a class, or attempting to modify the
173173 abstraction status of a method or class once it is created, are only
174174 supported using the :func: `update_abstractmethods ` function. The
175- :func : `!abstractmethod ` only affects subclasses derived using regular
175+ :deco : `!abstractmethod ` only affects subclasses derived using regular
176176 inheritance; "virtual subclasses" registered with the ABC's
177177 :meth: `~ABCMeta.register ` method are not affected.
178178
179- When :func : `!abstractmethod ` is applied in combination with other method
179+ When :deco : `!abstractmethod ` is applied in combination with other method
180180 descriptors, it should be applied as the innermost decorator, as shown in
181181 the following usage examples::
182182
@@ -214,7 +214,7 @@ The :mod:`!abc` module also provides the following decorator:
214214 the descriptor must identify itself as abstract using
215215 :attr: `!__isabstractmethod__ `. In general, this attribute should be ``True ``
216216 if any of the methods used to compose the descriptor are abstract. For
217- example, Python's built-in :class : `property ` does the equivalent of::
217+ example, Python's built-in :deco : `property ` does the equivalent of::
218218
219219 class Descriptor:
220220 ...
@@ -238,13 +238,13 @@ The :mod:`!abc` module also supports the following legacy decorators:
238238
239239 .. versionadded :: 3.2
240240 .. deprecated-removed :: 3.3 3.21
241- It is now possible to use :class : `classmethod ` with
242- :func : `abstractmethod `, making this decorator redundant.
241+ It is now possible to use :deco : `classmethod ` with
242+ :deco : `abstractmethod `, making this decorator redundant.
243243
244- A subclass of the built-in :func : `classmethod `, indicating an abstract
245- classmethod. Otherwise it is similar to :func : `abstractmethod `.
244+ A subclass of the built-in :class : `classmethod `, indicating an abstract
245+ classmethod. Otherwise it is similar to :deco : `abstractmethod `.
246246
247- This special case is deprecated, as the :func : `classmethod ` decorator
247+ This special case is deprecated, as the :deco : `classmethod ` decorator
248248 is now correctly identified as abstract when applied to an abstract
249249 method::
250250
@@ -259,13 +259,13 @@ The :mod:`!abc` module also supports the following legacy decorators:
259259
260260 .. versionadded :: 3.2
261261 .. deprecated-removed :: 3.3 3.21
262- It is now possible to use :class : `staticmethod ` with
263- :func : `abstractmethod `, making this decorator redundant.
262+ It is now possible to use :deco : `staticmethod ` with
263+ :deco : `abstractmethod `, making this decorator redundant.
264264
265- A subclass of the built-in :func : `staticmethod `, indicating an abstract
266- staticmethod. Otherwise it is similar to :func : `abstractmethod `.
265+ A subclass of the built-in :class : `staticmethod `, indicating an abstract
266+ staticmethod. Otherwise it is similar to :deco : `abstractmethod `.
267267
268- This special case is deprecated, as the :func : `staticmethod ` decorator
268+ This special case is deprecated, as the :deco : `staticmethod ` decorator
269269 is now correctly identified as abstract when applied to an abstract
270270 method::
271271
@@ -279,14 +279,14 @@ The :mod:`!abc` module also supports the following legacy decorators:
279279.. decorator :: abstractproperty
280280
281281 .. deprecated-removed :: 3.3 3.21
282- It is now possible to use :class : `property `, :meth : `property.getter `,
283- :meth : `property.setter ` and :meth : `property.deleter ` with
284- :func : `abstractmethod `, making this decorator redundant.
282+ It is now possible to use :deco : `property `, :deco : `property.getter `,
283+ :deco : `property.setter ` and :deco : `property.deleter ` with
284+ :deco : `abstractmethod `, making this decorator redundant.
285285
286- A subclass of the built-in :func : `property `, indicating an abstract
286+ A subclass of the built-in :class : `property `, indicating an abstract
287287 property.
288288
289- This special case is deprecated, as the :func : `property ` decorator
289+ This special case is deprecated, as the :deco : `property ` decorator
290290 is now correctly identified as abstract when applied to an abstract
291291 method::
292292
0 commit comments