From 1be63af41d3a21f98b8514cfd059df453afb7039 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 28 Jun 2006 20:23:25 +0000 Subject: [PATCH] Fix end_fill(). --- Lib/lib-tk/turtle.py | 2 +- Misc/NEWS | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index d186ac63125..0fe83a3df8e 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -721,7 +721,7 @@ def color(*args): _getpen().color(*args) def write(arg, move=0): _getpen().write(arg, move) def fill(flag): _getpen().fill(flag) def begin_fill(): _getpen().begin_fill() -def end_fill(): _getpen.end_fill() +def end_fill(): _getpen().end_fill() def circle(radius, extent=None): _getpen().circle(radius, extent) def goto(*args): _getpen().goto(*args) def heading(): return _getpen().heading() diff --git a/Misc/NEWS b/Misc/NEWS index efbb1453bf1..61170a0d1b5 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -19,6 +19,8 @@ Core and builtins Library ------- +- Fix a bug in the turtle module's end_fill function. + - Bug #1510580: The 'warnings' module improperly required that a Warning category be either a types.ClassType and a subclass of Warning. The proper check is just that it is a subclass with Warning as the documentation states.