diff options
| author | John R. Lenton <jlenton@gmail.com> | 2014-01-12 15:44:26 +0000 |
|---|---|---|
| committer | John R. Lenton <jlenton@gmail.com> | 2014-01-12 15:44:26 +0000 |
| commit | 1d7fb2f21be8dd6f95e5889442a3735464c94dfb (patch) | |
| tree | d699ffd73623eaa86cd9adba4f605ffb2750605b /tests | |
| parent | 19b14d3d8ae229f17f8b63825f96220db37e3770 (diff) | |
Implemented set.clear
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/basics/tests/set_clear.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/tests/set_clear.py b/tests/basics/tests/set_clear.py new file mode 100644 index 000000000..6fda93f0f --- /dev/null +++ b/tests/basics/tests/set_clear.py @@ -0,0 +1,3 @@ +s = {1, 2, 3, 4} +print(s.clear()) +print(list(s)) |
