From: Georg Brandl Date: Wed, 28 Jun 2006 20:23:25 +0000 (+0000) Subject: Fix end_fill(). X-Git-Tag: v2.5b2~97 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1be63af41d3a21f98b8514cfd059df453afb7039;p=thirdparty%2FPython%2Fcpython.git Fix end_fill(). --- diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index d186ac63125f..0fe83a3df8e1 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 efbb1453bf12..61170a0d1b5d 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.