This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
micropython
kopia lustrzana
https://github.com/micropython/micropython
Obserwuj
1
Polub
0
Forkuj
You've already forked micropython
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
134c10e776
micropython
/
tests
/
basics
/
set_update.py
8 wiersze
101 B
Python
Czysty
Zwykły widok
Historia
Unescape
Escape
Implemented set.update
2014-01-12 19:39:48 +00: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 04:00:03 +00:00
print
(
s
)
Implemented set.update
2014-01-12 19:39:48 +00: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 04:00:03 +00:00
print
(
sorted
(
s
)
)
Implemented set.update
2014-01-12 19:39:48 +00: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 04:00:03 +00:00
print
(
sorted
(
s
)
)