diff options
Diffstat (limited to 'doc/python_api')
-rw-r--r-- | doc/python_api/examples/bpy.types.Panel.2.py | 2 | ||||
-rw-r--r-- | doc/python_api/sphinx_changelog_gen.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/examples/bpy.types.Panel.2.py b/doc/python_api/examples/bpy.types.Panel.2.py index a4b2f1fd338..261430f1396 100644 --- a/doc/python_api/examples/bpy.types.Panel.2.py +++ b/doc/python_api/examples/bpy.types.Panel.2.py @@ -7,7 +7,7 @@ A mix-in parent class can be used to share common properties and import bpy -class View3DPanel(): +class View3DPanel: bl_space_type = 'VIEW_3D' bl_region_type = 'TOOLS' diff --git a/doc/python_api/sphinx_changelog_gen.py b/doc/python_api/sphinx_changelog_gen.py index 3b968de9a2c..0b083c31c58 100644 --- a/doc/python_api/sphinx_changelog_gen.py +++ b/doc/python_api/sphinx_changelog_gen.py @@ -316,7 +316,7 @@ def main(): try: import argparse - except: + except ImportError: print("Old Blender, just dumping") api_dump() return |