Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
micropython
tests/swap.py
325:58b093e67a2e
196:072c14d15074
2010-06-02
Paul Boddie
raw
annotate
files
changeset
graph
Removed usage of getattr by introducing lambda functions providing the methods specific to each operation.
1
#!/usr/bin/env python
2
3
a
=
1
4
b
=
2
5
b
,
a
=
a
,
b
6
7
# vim: tabstop=4 expandtab shiftwidth=4