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>2013-05-09 05:58:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-09 05:58:49 +0400
commit8771a9f861a4f62a98ca6d677f8dfa63da069404 (patch)
tree2a5a078d5fc99347d31d808a8f66339f26c8b0aa /doc/python_api/sphinx_changelog_gen.py
parent3d95873cf600608148a6301a1446022ecb0e9046 (diff)
update autogenerated changelog. also correct typos in the generator.
Diffstat (limited to 'doc/python_api/sphinx_changelog_gen.py')
-rw-r--r--doc/python_api/sphinx_changelog_gen.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/python_api/sphinx_changelog_gen.py b/doc/python_api/sphinx_changelog_gen.py
index afc253940d4..3b968de9a2c 100644
--- a/doc/python_api/sphinx_changelog_gen.py
+++ b/doc/python_api/sphinx_changelog_gen.py
@@ -72,19 +72,19 @@ def api_dump():
import inspect
struct = rna_info.BuildRNAInfo()[0]
- for struct_id, strict_info in sorted(struct.items()):
+ for struct_id, struct_info in sorted(struct.items()):
- struct_id_str = strict_info.identifier
+ struct_id_str = struct_info.identifier
if rna_info.rna_id_ignore(struct_id_str):
continue
- for base in strict_info.get_bases():
+ for base in struct_info.get_bases():
struct_id_str = base.identifier + "." + struct_id_str
dump_class = dump_module[struct_id_str] = {}
- props = [(prop.identifier, prop) for prop in strict_info.properties]
+ props = [(prop.identifier, prop) for prop in struct_info.properties]
for prop_id, prop in sorted(props):
# if prop.type == 'boolean':
# continue
@@ -113,7 +113,7 @@ def api_dump():
del props
# python props, tricky since we dont know much about them.
- for prop_id, attr in strict_info.get_py_properties():
+ for prop_id, attr in struct_info.get_py_properties():
dump_class[prop_id] = (
"prop_py", # basic_type
@@ -129,7 +129,7 @@ def api_dump():
)
# kludge func -> props
- funcs = [(func.identifier, func) for func in strict_info.functions]
+ funcs = [(func.identifier, func) for func in struct_info.functions]
for func_id, func in funcs:
func_ret_types = tuple([prop.type for prop in func.return_values])
@@ -151,7 +151,7 @@ def api_dump():
del funcs
# kludge func -> props
- funcs = strict_info.get_py_functions()
+ funcs = struct_info.get_py_functions()
for func_id, attr in funcs:
# arg_str = inspect.formatargspec(*inspect.getargspec(py_func))