summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-25 11:27:25 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-25 11:27:25 -0400
commit42f1dac01d72202b019063bfd5d1ffe9588e676b (patch)
treef472d010f4471cc98febcbbfd719335bada88afb /igor.py
parent13420e9cf4f37c2c0742f200d943f398cb790643 (diff)
downloadpython-coveragepy-42f1dac01d72202b019063bfd5d1ffe9588e676b.tar.gz
Better spelling.
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/igor.py b/igor.py
index e89808a..3aa9d5e 100644
--- a/igor.py
+++ b/igor.py
@@ -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])