A RetroSearch Logo

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

Search Query:

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

Keyword-only args for Python functions are poorly implemented · Issue #524 · micropython/micropython · GitHub

I knew I shouldn't even try them, especially taking into account that I dislike all these novelties. But then CPy stdlib was parsed by pure accident - they seem to start using it heavily.

def f1(a, *, b):
    print(a, b)

f1(1, b=2)

def f2(a, *, b=[]):
    print(a, b)

def f3(a, *, b=1):
    print(a, b)

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