From da842ed28119294dd43d88f1280c9b50340887c1 Mon Sep 17 00:00:00 2001 From: Jakub Stasiak Date: Sun, 28 Apr 2019 12:13:13 +0200 Subject: [PATCH] Remove dead code --- injector/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/injector/__init__.py b/injector/__init__.py index aa18339..5337da7 100644 --- a/injector/__init__.py +++ b/injector/__init__.py @@ -387,8 +387,6 @@ class Binder: return InstanceProvider(ProviderOf(self.injector, target)) elif isinstance(to, Provider): return to - elif isinstance(interface, Provider): - return interface elif isinstance( to, (