Skip to content

Commit 33624cc

Browse files
committed
fix: docstring
1 parent 954fff2 commit 33624cc

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/ansys/dpf/core/operators/build.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,7 @@
3333

3434

3535
def find_class_origin(class_name: str, package_name: str = "ansys.dpf.core") -> Optional[str]:
36-
"""
37-
Find the fully qualified import path where a class is *originally defined*
38-
within a given package (not just re-exported).
39-
40-
Example:
41-
find_class_origin("HTTPError", "requests")
42-
-> "requests.exceptions.HTTPError"
43-
"""
36+
"""Find the fully qualified import path where a class is originally defined."""
4437
try:
4538
pkg = importlib.import_module(package_name)
4639
except ModuleNotFoundError:

0 commit comments

Comments
 (0)