diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-28 14:00:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-28 14:01:22 +0300 |
commit | 590a6b526987f08f8b8160bce83c83aab0076a6e (patch) | |
tree | 241ecbf5713c759834b03654642ee5087a650657 /doc | |
parent | e20ed590371a40d1cef74e145634029dd4626e87 (diff) |
Cleanup: pep8
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst_from_bmesh_opdefines.py | 6 | ||||
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/python_api/rst_from_bmesh_opdefines.py b/doc/python_api/rst_from_bmesh_opdefines.py index 8357d063429..d9e2f7f12e7 100644 --- a/doc/python_api/rst_from_bmesh_opdefines.py +++ b/doc/python_api/rst_from_bmesh_opdefines.py @@ -76,8 +76,10 @@ def main(): for l in fsrc: l = l[:-1] # weak but ok - if ((("BMOpDefine" in l and l.split()[1] == "BMOpDefine") and "bmo_opdefines[]" not in l) or - ("static BMO_FlagSet " in l)): + if ( + (("BMOpDefine" in l and l.split()[1] == "BMOpDefine") and "bmo_opdefines[]" not in l) or + ("static BMO_FlagSet " in l) + ): is_block = True block_ctx = [] blocks.append((comment_ctx, block_ctx)) diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 14222d03d87..6e7d2e45f3a 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -349,7 +349,7 @@ INFO_DOCS = ( "Tips and Tricks: Hints to help you while writing scripts for Blender"), ("info_gotcha.rst", "Gotcha's: some of the problems you may come up against when writing scripts"), - ("change_log.rst", "List of changes since last Blender release"), + ("change_log.rst", "List of changes since last Blender release"), ) # only support for properties atm. |