diff options
author | Yobmod <yobmod@gmail.com> | 2021-06-24 17:35:22 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-06-24 17:35:22 +0100 |
commit | affee359af09cf7971676263f59118de82e7e059 (patch) | |
tree | b11b48fe7d13de320cedb8dacb2468699d40ac35 /t.py | |
parent | d9f9027779931c3cdb04d570df5f01596539791b (diff) | |
download | gitpython-affee359af09cf7971676263f59118de82e7e059.tar.gz |
Add typedDict
Diffstat (limited to 't.py')
-rw-r--r-- | t.py | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -1,28 +0,0 @@ -import warnings - - -class Watcher(type): - def __init__(cls, name, bases, clsdict): - for base in bases: - if type(base) == Watcher: - warnings.warn(f"GitPython Iterable subclassed by {name}. " - "Iterable is deprecated due to naming clash, " - "Use IterableObj instead \n", - DeprecationWarning, - stacklevel=2) - - -class SuperClass(metaclass=Watcher): - pass - - -class SubClass0(SuperClass): - pass - - -class SubClass1(SuperClass): - print("test") - - -class normo(): - print("wooo") |