We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 943cc69 + a5e7bd9 commit 28bcfaaCopy full SHA for 28bcfaa
PySpice/Spice/__init__.py
@@ -54,6 +54,8 @@ def _get_elements(module):
54
def _make_function(element_class):
55
def function(self, *args, **kwargs):
56
return element_class(self, *args, **kwargs)
57
+ # Preserve docstrings for element shortcuts
58
+ function.__doc__ = element_class.__doc__
59
return function
60
61
func = _make_function(element_class)
0 commit comments