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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'development_api_navigator.py')
-rw-r--r--development_api_navigator.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/development_api_navigator.py b/development_api_navigator.py
index 3eab96b0..deae8443 100644
--- a/development_api_navigator.py
+++ b/development_api_navigator.py
@@ -34,7 +34,7 @@ bl_info = {
that tries to be representative of its type. These lists are :
* Items (for an iterable object)
- * Item Values (for an iterable object wich only supports index)
+ * Item Values (for an iterable object which only supports index)
* Modules
* Types
* Properties
@@ -47,7 +47,7 @@ that tries to be representative of its type. These lists are :
filter section. It is also possible to explore other modules. Go the the root and select
it in the list of available modules. It will be imported dynamically.
- In the text section, some informations are displayed. The type of the object,
+ In the text section, some information are displayed. The type of the object,
what it returns, and its docstring. We could hope that these docstrings will be as
descriptive as possible. This text data block named api_doc_ can be toggled on and off
with the Escape key. (but a bug prevent the keymap to register correctly at start)
@@ -85,7 +85,7 @@ def init_tree_level():
init_tree_level()
-api_doc_ = '' # the documentation formated for the API Navigator
+api_doc_ = '' # the documentation formatted for the API Navigator
module_type = None # the type of current_module
return_report = '' # what current_module returns
filter_mem = {} # remember last filters entered for each path
@@ -561,10 +561,10 @@ class OBJECT_PT_api_navigator(ApiNavigator, Panel):
show_panel_elements = bpy.context.window_manager.api_nav_props.panel_toggle[t] if \
0 <= t < 10 else True
- lenght = tree_level[t].__len__()
- too_long = lenght > reduce_to
+ length = tree_level[t].__len__()
+ too_long = length > reduce_to
- if lenght:
+ if length:
col = layout.column()
box = col.box()
@@ -582,7 +582,7 @@ class OBJECT_PT_api_navigator(ApiNavigator, Panel):
i = 0
objects, count, filtered = 0, 0, 0
- while count < reduce_to and i < lenght:
+ while count < reduce_to and i < length:
obj = tree_level[t][i]
if filters and filters not in obj: