comparison Python/sysmodule.c @ 43100:4e6b4ba60c3b

Remove the simple slicing API. All slicing is now done with slice objects.
author Thomas Wouters <thomas@python.org>
date Thu, 30 Aug 2007 22:57:53 +0000
parents 7bf8f2339ec6
children 1998ee0eff2c
comparison
equal deleted inserted replaced
43099:4441c387650d 43100:4e6b4ba60c3b
873 PyDoc_STR( 873 PyDoc_STR(
874 "\n\ 874 "\n\
875 Static objects:\n\ 875 Static objects:\n\
876 \n\ 876 \n\
877 maxint -- the largest supported integer (the smallest is -maxint-1)\n\ 877 maxint -- the largest supported integer (the smallest is -maxint-1)\n\
878 maxsize -- the largest supported length of containers.\n\
878 maxunicode -- the largest supported character\n\ 879 maxunicode -- the largest supported character\n\
879 builtin_module_names -- tuple of module names built into this interpreter\n\ 880 builtin_module_names -- tuple of module names built into this interpreter\n\
880 version -- the version of this interpreter as a string\n\ 881 version -- the version of this interpreter as a string\n\
881 version_info -- version information as a tuple\n\ 882 version_info -- version information as a tuple\n\
882 hexversion -- version information encoded as a single integer\n\ 883 hexversion -- version information encoded as a single integer\n\
1085 PyUnicode_FromString(Py_GetPrefix())); 1086 PyUnicode_FromString(Py_GetPrefix()));
1086 SET_SYS_FROM_STRING("exec_prefix", 1087 SET_SYS_FROM_STRING("exec_prefix",
1087 PyUnicode_FromString(Py_GetExecPrefix())); 1088 PyUnicode_FromString(Py_GetExecPrefix()));
1088 SET_SYS_FROM_STRING("maxint", 1089 SET_SYS_FROM_STRING("maxint",
1089 PyInt_FromLong(PyInt_GetMax())); 1090 PyInt_FromLong(PyInt_GetMax()));
1091 SET_SYS_FROM_STRING("maxsize",
1092 PyInt_FromLong(PY_SSIZE_T_MAX));
1090 SET_SYS_FROM_STRING("maxunicode", 1093 SET_SYS_FROM_STRING("maxunicode",
1091 PyInt_FromLong(PyUnicode_GetMax())); 1094 PyInt_FromLong(PyUnicode_GetMax()));
1092 SET_SYS_FROM_STRING("builtin_module_names", 1095 SET_SYS_FROM_STRING("builtin_module_names",
1093 list_builtin_module_names()); 1096 list_builtin_module_names());
1094 { 1097 {