diff options
author | laurentlb <laurentlb@google.com> | 2017-09-06 19:46:47 +0200 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2017-09-07 09:57:22 +0200 |
commit | 64cc3d333cc777104346fe789027e660c41dca74 (patch) | |
tree | 10256a3ed4e62ebfc499806a473a81ba2dd2729e /site | |
parent | 8b126f2ab9af136269432117683155e156f5f8fe (diff) |
incompatible_disallow_keyword_only_args now defaults to true
RELNOTES[INC]:
Keyword-only syntax in a function definition is now forbidden
e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
PiperOrigin-RevId: 167741296
Diffstat (limited to 'site')
-rw-r--r-- | site/docs/skylark/backward-compatibility.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/docs/skylark/backward-compatibility.md b/site/docs/skylark/backward-compatibility.md index b2bd70bca0..9cd120aedc 100644 --- a/site/docs/skylark/backward-compatibility.md +++ b/site/docs/skylark/backward-compatibility.md @@ -53,7 +53,7 @@ compatibility with Python 2, we are removing this feature (which we have never documented). * Flag: `--incompatible_disallow_keyword_only_args` -* Default: `false` +* Default: `true` ## Mutating `+=` |