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
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-05-18 10:40:19 +0300
committerCampbell Barton <campbell@blender.org>2022-05-18 10:53:45 +0300
commitc536791f36b7b175a188b615ffcc5e366b833da4 (patch)
tree73fc4eb1c6491304285fc1f102619090b5c0783b /doc
parentba2c6c90face552eff4a85f093639788d0ca9d57 (diff)
Cleanup: remove unused variables, redundant assignments
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 1c52bb3e57d..1949d77a50b 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1210,7 +1210,6 @@ def pycontext2sphinx(basepath):
for ctx_str, ctx_members in sorted(context_member_map.items()):
subsection = "%s Context" % ctx_str.split("_")[0].title()
fw("\n%s\n%s\n\n" % (subsection, (len(subsection) * '-')))
- i = 0
for member in ctx_members:
unique_all_len = len(unique)
unique.add(member)
@@ -1231,7 +1230,6 @@ def pycontext2sphinx(basepath):
"Error: context key %r not found in context_type_map; update %s" %
(member, __file__)) from None
fw(" :type: %s :class:`bpy.types.%s`\n\n" % ("sequence of " if is_seq else "", member_type))
- i += 1
# generate typemap...
# for member in sorted(unique_context_strings):