diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-11-21 02:01:50 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-11-21 02:01:50 (GMT) |
commit | 12f54026858bbe5f90ca25fef39b601311f71295 (patch) | |
tree | b8c64becfb503f3f7b5eb3695bfde1332ba13203 /TurtleArt | |
parent | 81fc3951b626d0e7166c6f6529c8bf446d0e4ab4 (diff) |
make local Class local
Diffstat (limited to 'TurtleArt')
-rw-r--r-- | TurtleArt/tapalette.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tapalette.py b/TurtleArt/tapalette.py index 9332155..fd8fac7 100644 --- a/TurtleArt/tapalette.py +++ b/TurtleArt/tapalette.py @@ -176,7 +176,7 @@ class Palette(): logo_command=None, hidden=False, colors=None, string_or_number=False): """ Add a new block to the palette """ - block = Block(block_name) + block = _ProtoBlock(block_name) block.set_style(style) if label is not None: block.set_label(label) @@ -251,7 +251,7 @@ def define_logo_function(key, value): logo_functions[key] = value -class Block(): +class _ProtoBlock(): """ a class for defining new block primitives """ def __init__(self, name): |