A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/micropython/micropython/issues/466 below:

positional args after kwargs doesn't throw SyntaxError · Issue #466 · micropython/micropython · GitHub

If I call

def testfun(arg1=1,arg2=2):
    print(arg1,arg2)

as testfun(arg1='one','two') in CPython3.3 it throws SyntaxError: non-keyword arg after keyword arg.
But doing the same in micropython instead throws TypeError: function does not take keyword arguments.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4