diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-25 11:27:25 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-25 11:27:25 -0400 |
commit | 8e81a1b6feddb2a0642d7991ac35c7419f570bb6 (patch) | |
tree | 056eeeac3e24a8434d09f7ce5167b481ccc78b4e /igor.py | |
parent | 655e48284397765c36e7f5bfb8a018f79e542ecd (diff) | |
download | python-coveragepy-git-8e81a1b6feddb2a0642d7991ac35c7419f570bb6.tar.gz |
Better spelling.
Diffstat (limited to 'igor.py')
-rw-r--r-- | igor.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -305,16 +305,16 @@ def do_help(): print("%-20s%s" % (name[3:], value.__doc__)) -def analyze_args(callble): - """What kind of args does `callble` expect? +def analyze_args(function): + """What kind of args does `function` expect? Returns: star, num_pos: - star(boolean): Does `callble` accept *args? - num_args(int): How many positional arguments does `callble` have? + star(boolean): Does `function` accept *args? + num_args(int): How many positional arguments does `function` have? """ with ignore_warnings(): - argspec = inspect.getargspec(callble) + argspec = inspect.getargspec(function) return bool(argspec[1]), len(argspec[0]) |