mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Python] Remove unused method function_exists(…) in capi.py
This commit is contained in:
@@ -624,14 +624,6 @@ class Config(object):
|
||||
|
||||
return library
|
||||
|
||||
def function_exists(self, name):
|
||||
try:
|
||||
getattr(self.lib, name)
|
||||
except AttributeError:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
conf = Config()
|
||||
conf.lib.sourcekitd_initialize()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user