From 8dd3387eb74566f6c52d5c83f22a8e89a908df2a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 6 Apr 2022 19:08:10 +1000 Subject: Cleanup: spelling & poor wording in code & comments --- release/scripts/modules/bpy_types.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'release/scripts/modules/bpy_types.py') diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 45fd6d29dfa..be60a1711aa 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -9,7 +9,7 @@ StructMetaPropGroup = bpy_types.bpy_struct_meta_idprop # StructRNA = bpy_types.Struct # Private dummy object use for comparison only. -_sentinal = object() +_sentinel = object() # Note that methods extended in C are defined in: 'bpy_rna_types_capi.c' @@ -51,8 +51,8 @@ class Context(StructRNA): # Retrieve the value for `attr`. # Match the value error exception with that of "path_resolve" # to simplify exception handling for the caller. - value = getattr(self, attr, _sentinal) - if value is _sentinal: + value = getattr(self, attr, _sentinel) + if value is _sentinel: raise ValueError("Path could not be resolved: %r" % attr) if value is None: -- cgit v1.2.3