mirror of https://github.com/jab/bidict.git
appease new flake8 rule (E305)
This commit is contained in:
parent
c923b297c3
commit
efead14781
|
@ -52,6 +52,7 @@ class DuplicationBehavior(_marker):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
DuplicationBehavior.RAISE = RAISE = DuplicationBehavior('RAISE')
|
DuplicationBehavior.RAISE = RAISE = DuplicationBehavior('RAISE')
|
||||||
DuplicationBehavior.OVERWRITE = OVERWRITE = DuplicationBehavior('OVERWRITE')
|
DuplicationBehavior.OVERWRITE = OVERWRITE = DuplicationBehavior('OVERWRITE')
|
||||||
DuplicationBehavior.IGNORE = IGNORE = DuplicationBehavior('IGNORE')
|
DuplicationBehavior.IGNORE = IGNORE = DuplicationBehavior('IGNORE')
|
||||||
|
|
|
@ -7,6 +7,7 @@ from itertools import product
|
||||||
class dictsubclass(dict):
|
class dictsubclass(dict):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
d = dict(H='hydrogen', He='helium')
|
d = dict(H='hydrogen', He='helium')
|
||||||
c = Counter(d)
|
c = Counter(d)
|
||||||
o = OrderedDict(d)
|
o = OrderedDict(d)
|
||||||
|
|
Loading…
Reference in New Issue