Skip to content

Commit 19d80ce

Browse files
author
Joel Collins
committed
Removed unused get_class_that_defined_method function
1 parent 1232efe commit 19d80ce

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/labthings/utilities.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -337,18 +337,6 @@ def path_relative_to(source_file, *paths):
337337
return os.path.join(os.path.abspath(os.path.dirname(source_file)), *paths)
338338

339339

340-
def get_class_that_defined_method(meth):
341-
"""
342-
343-
:param meth:
344-
345-
"""
346-
for cls in inspect.getmro(meth.im_class):
347-
if meth.__name__ in cls.__dict__:
348-
return cls
349-
return None
350-
351-
352340
def url_for_property(property_object: object, property_name: str):
353341
"""
354342

0 commit comments

Comments
 (0)