@@ -170,17 +170,17 @@ The :mod:`!abc` module also provides the following decorator:
170170 or is derived from it. A class that has a metaclass derived from
171171 :class: `!ABCMeta ` cannot be instantiated unless all of its abstract methods
172172 and properties are overridden. The abstract methods can be called using any
173- of the normal 'super' call mechanisms. :func : `!abstractmethod ` may be used
173+ of the normal 'super' call mechanisms. :deco : `!abstractmethod ` may be used
174174 to declare abstract methods for properties and descriptors.
175175
176176 Dynamically adding abstract methods to a class, or attempting to modify the
177177 abstraction status of a method or class once it is created, are only
178178 supported using the :func: `update_abstractmethods ` function. The
179- :func : `!abstractmethod ` only affects subclasses derived using regular
179+ :deco : `!abstractmethod ` only affects subclasses derived using regular
180180 inheritance; "virtual subclasses" registered with the ABC's
181181 :meth: `~ABCMeta.register ` method are not affected.
182182
183- When :func : `!abstractmethod ` is applied in combination with other method
183+ When :deco : `!abstractmethod ` is applied in combination with other method
184184 descriptors, it should be applied as the innermost decorator, as shown in
185185 the following usage examples::
186186
@@ -218,7 +218,7 @@ The :mod:`!abc` module also provides the following decorator:
218218 the descriptor must identify itself as abstract using
219219 :attr: `!__isabstractmethod__ `. In general, this attribute should be ``True ``
220220 if any of the methods used to compose the descriptor are abstract. For
221- example, Python's built-in :class : `property ` does the equivalent of::
221+ example, Python's built-in :deco : `property ` does the equivalent of::
222222
223223 class Descriptor:
224224 ...
@@ -242,13 +242,13 @@ The :mod:`!abc` module also supports the following legacy decorators:
242242
243243 .. versionadded :: 3.2
244244 .. deprecated :: 3.3
245- It is now possible to use :class : `classmethod ` with
246- :func : `abstractmethod `, making this decorator redundant.
245+ It is now possible to use :deco : `classmethod ` with
246+ :deco : `abstractmethod `, making this decorator redundant.
247247
248- A subclass of the built-in :func : `classmethod `, indicating an abstract
249- classmethod. Otherwise it is similar to :func : `abstractmethod `.
248+ A subclass of the built-in :class : `classmethod `, indicating an abstract
249+ classmethod. Otherwise it is similar to :deco : `abstractmethod `.
250250
251- This special case is deprecated, as the :func : `classmethod ` decorator
251+ This special case is deprecated, as the :deco : `classmethod ` decorator
252252 is now correctly identified as abstract when applied to an abstract
253253 method::
254254
@@ -263,13 +263,13 @@ The :mod:`!abc` module also supports the following legacy decorators:
263263
264264 .. versionadded :: 3.2
265265 .. deprecated :: 3.3
266- It is now possible to use :class : `staticmethod ` with
267- :func : `abstractmethod `, making this decorator redundant.
266+ It is now possible to use :deco : `staticmethod ` with
267+ :deco : `abstractmethod `, making this decorator redundant.
268268
269- A subclass of the built-in :func : `staticmethod `, indicating an abstract
270- staticmethod. Otherwise it is similar to :func : `abstractmethod `.
269+ A subclass of the built-in :class : `staticmethod `, indicating an abstract
270+ staticmethod. Otherwise it is similar to :deco : `abstractmethod `.
271271
272- This special case is deprecated, as the :func : `staticmethod ` decorator
272+ This special case is deprecated, as the :deco : `staticmethod ` decorator
273273 is now correctly identified as abstract when applied to an abstract
274274 method::
275275
@@ -283,14 +283,14 @@ The :mod:`!abc` module also supports the following legacy decorators:
283283.. decorator :: abstractproperty
284284
285285 .. deprecated :: 3.3
286- It is now possible to use :class : `property `, :meth: `property.getter `,
286+ It is now possible to use :deco : `property `, :meth: `property.getter `,
287287 :meth: `property.setter ` and :meth: `property.deleter ` with
288- :func : `abstractmethod `, making this decorator redundant.
288+ :deco : `abstractmethod `, making this decorator redundant.
289289
290- A subclass of the built-in :func : `property `, indicating an abstract
290+ A subclass of the built-in :class : `property `, indicating an abstract
291291 property.
292292
293- This special case is deprecated, as the :func : `property ` decorator
293+ This special case is deprecated, as the :deco : `property ` decorator
294294 is now correctly identified as abstract when applied to an abstract
295295 method::
296296
0 commit comments