mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-06 21:33:31 +03:00
Try spike for 3.6
This commit is contained in:
parent
e644577223
commit
fec6e2b878
|
@ -126,3 +126,8 @@ class ConfigurationOption:
|
||||||
|
|
||||||
def __class_getitem__(cls, item):
|
def __class_getitem__(cls, item):
|
||||||
return cls(item)
|
return cls(item)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def __getitem__(cls, item):
|
||||||
|
# Spike for Python 3.6
|
||||||
|
return cls(item)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user