{"id":1199424,"date":"2023-11-01T12:57:42","date_gmt":"2023-11-01T16:57:42","guid":{"rendered":"https:\/\/www.prime-wow.com\/?p=1199424"},"modified":"2023-11-01T12:57:42","modified_gmt":"2023-11-01T16:57:42","slug":"implicit-keyword-arguments-for-python","status":"publish","type":"post","link":"https:\/\/www.prime-wow.com\/?p=1199424","title":{"rendered":"[$] Implicit keyword arguments for Python"},"content":{"rendered":"<p>Python functions can use both positional and keyword arguments; the latter<br \/>\nprovide a certain level of documentation for an argument and its meaning,<br \/>\nwhile allowing them to be given in any order in a call.  But it is often<br \/>\nthe case that the name of the local variable to be passed is the same as<br \/>\nthe keyword, which can lead to overly repetitive argument lists, at least<br \/>\nin some eyes.  A recent proposal to shorten the syntax for calls with<br \/>\nthese duplicate names seems to be gaining some steam\u2014a Python Enhancement<br \/>\nProposal (PEP) is forthcoming\u2014though there are some who find it to be an<br \/>\nunnecessary and unwelcome complication for the language.&#013;<br \/>\n&#013;<br \/>\nSource: LWN.net &#8211; <a href=\"https:\/\/lwn.net\/Articles\/949435\/\" target=\"_blank\" rel=\"noopener\">[$] Implicit keyword arguments for Python<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python functions can use both positional and keyword arguments; the latter provide a certain level of documentation for an argument and its meaning, while allowing them to be given in any order in a call. But it is often the &hellip; <a href=\"https:\/\/www.prime-wow.com\/?p=1199424\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[75],"class_list":["post-1199424","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1199424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1199424"}],"version-history":[{"count":0,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1199424\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1199424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1199424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1199424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}