From: Guido van Rossum Date: Sun, 21 Apr 1991 19:27:28 +0000 (+0000) Subject: Add destrpy() method. X-Git-Tag: v0.9.8~972 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7912b008cf432a5408612fff77d4749793678dc9;p=thirdparty%2FPython%2Fcpython.git Add destrpy() method. --- diff --git a/Lib/lib-stdwin/StripChart.py b/Lib/lib-stdwin/StripChart.py index ac767c3e110f..e97dae2778f1 100644 --- a/Lib/lib-stdwin/StripChart.py +++ b/Lib/lib-stdwin/StripChart.py @@ -18,6 +18,9 @@ class StripChart() = LabelAppearance(), NoReactivity(): self.resetbounds() return self # + def destroy(self): + self.parent = 0 + # def setbounds(self, bounds): LabelAppearance.setbounds(self, bounds) self.resetbounds() diff --git a/Lib/stdwin/StripChart.py b/Lib/stdwin/StripChart.py index ac767c3e110f..e97dae2778f1 100755 --- a/Lib/stdwin/StripChart.py +++ b/Lib/stdwin/StripChart.py @@ -18,6 +18,9 @@ class StripChart() = LabelAppearance(), NoReactivity(): self.resetbounds() return self # + def destroy(self): + self.parent = 0 + # def setbounds(self, bounds): LabelAppearance.setbounds(self, bounds) self.resetbounds()