Mercurial > slides-fragments
changeset 131:fc2345ce0a3c
created
| author | 127.0.0.1 |
|---|---|
| date | Wed, 29 Jan 2014 19:55:41 +0100 |
| parents | 00d5a9d9e719 |
| children | 343a6b424481 |
| files | duck%20typing |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/duck%20typing Wed Jan 29 19:55:01 2014 +0100 +++ b/duck%20typing Wed Jan 29 19:55:41 2014 +0100 @@ -13,6 +13,6 @@ {{{#!python import collections -if not isinstance(parameter, collections.iterable): +if not isinstance(parameter, collections.Iterable): raise TypeError("Please provide an interable.") }}} \ No newline at end of file
