Skip to content

Commit f38b613

Browse files
[Python] Remove unused method function_exists(…) in capi.py
1 parent 67c7758 commit f38b613

File tree

1 file changed

+0
-8
lines changed
  • tools/SourceKit/bindings/python/sourcekitd

1 file changed

+0
-8
lines changed

tools/SourceKit/bindings/python/sourcekitd/capi.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -624,14 +624,6 @@ def get_sourcekitd_library(self):
624624

625625
return library
626626

627-
def function_exists(self, name):
628-
try:
629-
getattr(self.lib, name)
630-
except AttributeError:
631-
return False
632-
633-
return True
634-
635627
conf = Config()
636628
conf.lib.sourcekitd_initialize()
637629

0 commit comments

Comments
 (0)