Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eeb9298

Browse files
committed
update docstrings
1 parent 37d9a0d commit eeb9298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/artist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,13 +1503,13 @@ def get_setters(self):
15031503
@staticmethod
15041504
@lru_cache(maxsize=None)
15051505
def number_of_parameters(func):
1506-
"""Return number of parameters of function."""
1506+
"""Return number of parameters of the callable *func*."""
15071507
return len(inspect.signature(func).parameters)
15081508

15091509
@staticmethod
15101510
@lru_cache(maxsize=None)
15111511
def is_alias(method):
1512-
"""Return whether method object *o* is an alias for another method."""
1512+
"""Return whether method object *method* is an alias for another method."""
15131513

15141514
ds = inspect.getdoc(method)
15151515
if ds is None:

0 commit comments

Comments
 (0)