__dir__ deleted
This commit is contained in:
@ -267,11 +267,11 @@ class Config(object):
|
||||
|
||||
return self._cfgimpl_values[name]
|
||||
|
||||
def __dir__(self):
|
||||
#from_type = dir(type(self))
|
||||
from_dict = list(self.__dict__)
|
||||
extras = list(self._cfgimpl_values)
|
||||
return sorted(set(extras + from_dict))
|
||||
# def __dir__(self):
|
||||
# #from_type = dir(type(self))
|
||||
# from_dict = list(self.__dict__)
|
||||
# extras = list(self._cfgimpl_values)
|
||||
# return sorted(set(extras + from_dict))
|
||||
|
||||
def unwrap_from_name(self, name):
|
||||
# didn't have to stoop so low: `self.get()` must be the proper method
|
||||
|
Reference in New Issue
Block a user