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 | 42f1dac01d72202b019063bfd5d1ffe9588e676b (patch) | |
| tree | f472d010f4471cc98febcbbfd719335bada88afb /igor.py | |
| parent | 13420e9cf4f37c2c0742f200d943f398cb790643 (diff) | |
| download | python-coveragepy-42f1dac01d72202b019063bfd5d1ffe9588e676b.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]) |
