mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!
This commit is contained in:
parent
4ed72acd68
commit
e3944a5e1e
13 changed files with 168 additions and 121 deletions
|
@ -39,6 +39,8 @@ future_check_features(PyFutureFeatures *ff, stmt_ty s, const char *filename)
|
|||
continue;
|
||||
} else if (strcmp(feature, FUTURE_UNICODE_LITERALS) == 0) {
|
||||
continue;
|
||||
} else if (strcmp(feature, FUTURE_BARRY_AS_BDFL) == 0) {
|
||||
ff->ff_features |= CO_FUTURE_BARRY_AS_BDFL;
|
||||
} else if (strcmp(feature, "braces") == 0) {
|
||||
PyErr_SetString(PyExc_SyntaxError,
|
||||
"not a chance");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue