From 12f54026858bbe5f90ca25fef39b601311f71295 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 21 Nov 2013 02:01:50 +0000 Subject: make local Class local --- (limited to 'TurtleArt') 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): -- cgit v0.9.1