This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
9c81ea86e9
circuitpython
/
tests
/
basics
/
set_update.py
8 lines
101 B
Python
Raw
Normal View
History
Unescape
Escape
Implemented set.update
2014-01-12 14:39:48 -05:00
s
=
{
1
}
s
.
update
(
)
Modify set tests to print sorted sets directly instead of creating temporary lists and sorting those in-place
2014-04-07 00:00:03 -04:00
print
(
s
)
Implemented set.update
2014-01-12 14:39:48 -05:00
s
.
update
(
[
2
]
)
Modify set tests to print sorted sets directly instead of creating temporary lists and sorting those in-place
2014-04-07 00:00:03 -04:00
print
(
sorted
(
s
)
)
Implemented set.update
2014-01-12 14:39:48 -05:00
s
.
update
(
[
1
,
3
]
,
[
2
,
2
,
4
]
)
Modify set tests to print sorted sets directly instead of creating temporary lists and sorting those in-place
2014-04-07 00:00:03 -04:00
print
(
sorted
(
s
)
)
Reference in New Issue
Copy Permalink