Explorar el Código

Fix missing inheritance from abc.ABCMeta

tags/v1.0
JustAnotherArchivist hace 1 año
padre
commit
25792d9006
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      codearchiver/core.py

+ 1
- 1
codearchiver/core.py Ver fichero

@@ -276,7 +276,7 @@ class HttpClient:
return self.request('POST', *args, **kwargs)


class ModuleMeta(type):
class ModuleMeta(abc.ABCMeta):
'''Metaclass of modules. This is used to keep track of which modules exist and selecting them. It also enforces module name restrictions and prevents name collisions.'''

__modulesByName: dict[str, typing.Type['Module']] = {}


Cargando…
Cancelar
Guardar