Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 47489:7a1d4e8233f8
Fix sys.flags sequence behavior and add a test case.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Fri, 06 Jun 2008 09:02:07 +0000 |
| parents | 58f4b60773fe |
| children | 94f64f11fdd0 |
comparison
equal
deleted
inserted
replaced
| 47485:f7453b0b339e | 47489:7a1d4e8233f8 |
|---|---|
| 1148 static PyStructSequence_Desc flags_desc = { | 1148 static PyStructSequence_Desc flags_desc = { |
| 1149 "sys.flags", /* name */ | 1149 "sys.flags", /* name */ |
| 1150 flags__doc__, /* doc */ | 1150 flags__doc__, /* doc */ |
| 1151 flags_fields, /* fields */ | 1151 flags_fields, /* fields */ |
| 1152 #ifdef RISCOS | 1152 #ifdef RISCOS |
| 1153 12 | |
| 1154 #else | |
| 1153 11 | 1155 11 |
| 1154 #else | |
| 1155 10 | |
| 1156 #endif | 1156 #endif |
| 1157 }; | 1157 }; |
| 1158 | 1158 |
| 1159 static PyObject* | 1159 static PyObject* |
| 1160 make_flags(void) | 1160 make_flags(void) |
