Home | History | Annotate | Download | only in Python

Lines Matching defs:feature

10 #define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined"

25 const char *feature = PyString_AsString(name->name);
26 if (!feature)
28 if (strcmp(feature, FUTURE_NESTED_SCOPES) == 0) {
30 } else if (strcmp(feature, FUTURE_GENERATORS) == 0) {
32 } else if (strcmp(feature, FUTURE_DIVISION) == 0) {
34 } else if (strcmp(feature, FUTURE_ABSOLUTE_IMPORT) == 0) {
36 } else if (strcmp(feature, FUTURE_WITH_STATEMENT) == 0) {
38 } else if (strcmp(feature, FUTURE_PRINT_FUNCTION) == 0) {
40 } else if (strcmp(feature, FUTURE_UNICODE_LITERALS) == 0) {
42 } else if (strcmp(feature, "braces") == 0) {
49 UNDEFINED_FUTURE_FEATURE, feature);