summaryrefslogtreecommitdiff
path: root/tests/basics/fun-defargs.py
AgeCommit message (Collapse)Author
2014-07-05tests: Rename test scripts, changing - to _ for consistency.Damien George
From now on, all new tests must use underscore. Addresses issue #727.
2014-06-08tests: Fix default arg test.Damien George
2014-04-17tests: Remove print('flush') from 2 tests, since stmhal now works.Damien George
Fixing the USB problem on stmhal now gets these 2 tests working.
2014-04-13tests: Make tests pass on pyboard.Damien George
2014-02-01Implement default function arguments (for Python functions).Paul Sokolovsky
TODO: Decide if we really need separate bytecode for creating functions with default arguments - we would need same for closures, then there're keywords arguments too. Having all combinations is a small exponential explosion, likely we need just 2 cases - simplest (no defaults, no kw), and full - defaults & kw.