fix typo (#161)
parent
7e246b6f65
commit
1927bc7726
mmengine/registry
|
@ -8,7 +8,7 @@ class DefaultScope(ManagerMixin):
|
||||||
"""Scope of current task used to reset the current registry, which can be
|
"""Scope of current task used to reset the current registry, which can be
|
||||||
accessed globally.
|
accessed globally.
|
||||||
|
|
||||||
Consider the case of reseting the current ``Resgitry`` by``default_scope``
|
Consider the case of resetting the current ``Resgitry`` by``default_scope``
|
||||||
in the internal module which cannot access runner directly, it is difficult
|
in the internal module which cannot access runner directly, it is difficult
|
||||||
to get the ``default_scope`` defined in ``Runner``. However, if ``Runner``
|
to get the ``default_scope`` defined in ``Runner``. However, if ``Runner``
|
||||||
created ``DefaultScope`` instance by given ``default_scope``, the internal
|
created ``DefaultScope`` instance by given ``default_scope``, the internal
|
||||||
|
|
Loading…
Reference in New Issue