Skip to content

Commit 6a29983

Browse files
committed
minor docstring typos
1 parent 2b2a295 commit 6a29983

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/diffpy/srfit/fitbase/recipeorganizer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ def register_calculator(self, calculator, argnames=None):
613613
calculator : Calculator object
614614
The Calculator to register.
615615
argnames : list or None, optional
616-
The names of the arguments to calculator (list or None).
616+
The names of the arguments to `calculator` (list or None).
617617
If this is None, then the argument names will be
618618
extracted from the function.
619619
"""
@@ -665,13 +665,13 @@ def register_function(self, function, name=None, argnames=None):
665665
this is None (default), the method will try to
666666
determine the name of the function automatically.
667667
argnames : list or None, optional
668-
The names of the arguments to 'function' (list or None).
668+
The names of the arguments to `function` (list or None).
669669
If this is None (default), then the argument names will
670670
be extracted from the function.
671671
672672
Note
673673
----
674-
name and argnames can be extracted from regular Python
674+
The `name` and `argnames` args can be extracted from regular Python
675675
functions (of type <function>), bound class methods, and callable
676676
classes.
677677

0 commit comments

Comments
 (0)