Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-29 05:54:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-29 05:54:58 +0400
commit4a427d8e0dad2e252fedf55c5941d5877e139b09 (patch)
tree32ca9768952f447e5a1e6c9936490d432dcb59ab /source/blender/editors/space_text
parent6b211bac153aefce1087e6ac337613de17c4a53f (diff)
style cleanup
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r--source/blender/editors/space_text/text_format_py.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/text_format_py.c b/source/blender/editors/space_text/text_format_py.c
index 2a0f483d80c..c4d4b6b1c2f 100644
--- a/source/blender/editors/space_text/text_format_py.c
+++ b/source/blender/editors/space_text/text_format_py.c
@@ -56,6 +56,9 @@
static int txtfmt_py_find_builtinfunc(char *string)
{
int a, i;
+ /* list is from...
+ * ", ".join(['"%s"' % kw for kw in __import__("keyword").kwlist if kw not in {"False", "None", "True"}])
+ */
const char *builtinfuncs[] = {
/* "False", "None", "True", */ /* see find_bool() */
"and", "as", "assert", "break",