diff options
| author | Jonathan Lange <jml@mumak.net> | 2015-11-03 10:28:23 +0000 |
|---|---|---|
| committer | Jonathan Lange <jml@mumak.net> | 2015-11-03 10:28:23 +0000 |
| commit | 7c7f747f1092c8845a96041fff85d685703339e0 (patch) | |
| tree | 0411828af6aefed7ea1488b1cc545afeee3dde49 /testtools | |
| parent | bb220ee20cae3f285d8a2f600aabeb89a3a4349a (diff) | |
| download | testtools-7c7f747f1092c8845a96041fff85d685703339e0.tar.gz | |
Spell out `f` and `xs`
Diffstat (limited to 'testtools')
| -rw-r--r-- | testtools/testresult/real.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testtools/testresult/real.py b/testtools/testresult/real.py index a2be0a6..665d301 100644 --- a/testtools/testresult/real.py +++ b/testtools/testresult/real.py @@ -384,9 +384,9 @@ class StreamResult(object): """ -def strict_map(f, xs): +def strict_map(function, items): """A version of 'map' that's guaranteed to run on all inputs.""" - return list(map(f, xs)) + return list(map(function, items)) class CopyStreamResult(StreamResult): |
