diff options
author | Roman Pogribnyi <pogribnyi@gmail.com> | 2015-03-15 21:57:06 +0300 |
---|---|---|
committer | Roman Pogribnyi <pogribnyi@gmail.com> | 2015-03-15 21:57:06 +0300 |
commit | 5c64aa25541b973db4ec90c97e30b02d09b00075 (patch) | |
tree | 0cd3a8912d8b0cbfc5fe0bb94a2a42751e98dcd6 /release/scripts/modules/bpy_restrict_state.py | |
parent | 2a1a6bc5720a4310e42a67754998e0480bf7c59b (diff) | |
parent | 225027ce5dea3785626908b58b01fb3959cf8362 (diff) |
Merge branch 'master' into soc-2014-fluid
Diffstat (limited to 'release/scripts/modules/bpy_restrict_state.py')
-rw-r--r-- | release/scripts/modules/bpy_restrict_state.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/bpy_restrict_state.py b/release/scripts/modules/bpy_restrict_state.py index 4aa3c5de573..4658fddf0dc 100644 --- a/release/scripts/modules/bpy_restrict_state.py +++ b/release/scripts/modules/bpy_restrict_state.py @@ -29,7 +29,7 @@ __all__ = ( import bpy as _bpy -class _RestrictContext(): +class _RestrictContext: __slots__ = () _real_data = _bpy.data # safe, the pointer never changes @@ -44,7 +44,7 @@ class _RestrictContext(): return self._real_pref -class _RestrictData(): +class _RestrictData: __slots__ = () @@ -52,7 +52,7 @@ _context_restrict = _RestrictContext() _data_restrict = _RestrictData() -class RestrictBlend(): +class RestrictBlend: __slots__ = ("context", "data") def __enter__(self): |