some improvements for ProviderDelegate

This commit is contained in:
Roman Mogilatov 2015-03-09 00:24:46 +02:00
parent 120ef5d5cb
commit 6eadac8a75

View File

@ -47,7 +47,7 @@ class ProviderDelegate(Provider):
def __call__(self): def __call__(self):
"""Return provided instance.""" """Return provided instance."""
return self.delegated.__call__ return self.delegated
class NewInstance(Provider): class NewInstance(Provider):