Linting
This commit is contained in:
parent
269e578dd4
commit
ba8dbc7740
|
@ -61,7 +61,7 @@ The most basic usage of the registry is as follows:
|
||||||
|
|
||||||
The :meth:`metaclass <objtools.registry.ClassRegistry.metaclass>` property
|
The :meth:`metaclass <objtools.registry.ClassRegistry.metaclass>` property
|
||||||
provides a metaclass which performs auto-registration on the current
|
provides a metaclass which performs auto-registration on the current
|
||||||
registry instance. Two keyword arguments may optionally be sent to this
|
registry instance. Two keyword arguments may optionally be sent to this
|
||||||
metaclass:
|
metaclass:
|
||||||
|
|
||||||
**register** (bool)
|
**register** (bool)
|
||||||
|
|
|
@ -15,7 +15,7 @@ def namespacify(value: Any) -> Any:
|
||||||
|
|
||||||
:param value: Anything that may be a mapping or may be an iterable
|
:param value: Anything that may be a mapping or may be an iterable
|
||||||
that may hold a mapping.
|
that may hold a mapping.
|
||||||
:returns:
|
:returns:
|
||||||
* The value itself, if it is a Namespace instance or is neither
|
* The value itself, if it is a Namespace instance or is neither
|
||||||
a mapping, a sequence, a set, or an iterable;
|
a mapping, a sequence, a set, or an iterable;
|
||||||
* A :class:`Namespace` instance for a mapping;
|
* A :class:`Namespace` instance for a mapping;
|
||||||
|
|
Loading…
Reference in New Issue