This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
You've already forked circuitpython
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
19df6adf4c
circuitpython
/
tests
/
basics
/
set_specialmeth.py
6 lines
96 B
Python
Raw
Blame
History
# set object with special methods
s
=
{
1
,
2
}
print
(
s
.
__contains__
(
1
)
)
print
(
s
.
__contains__
(
3
)
)
Reference in New Issue
View Git Blame
Copy Permalink