]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39392: Turtle overlap fill depends on OS (GH-18223)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 27 Jan 2020 23:46:25 +0000 (15:46 -0800)
committerGitHub <noreply@github.com>
Mon, 27 Jan 2020 23:46:25 +0000 (15:46 -0800)
Whether or not overlap regions for self-intersecting polygons
or multiple shapes are filled depends on the operating system graphics,
typeof overlap, and number of overlaps.
(cherry picked from commit 2824c45a0a020f12f27da7e7162e8636c21bf869)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/library/turtle.rst
Misc/NEWS.d/next/Documentation/2020-01-27-18-18-42.bpo-39392.oiqcLO.rst [new file with mode: 0644]

index 5d7f0608aebb7f3be1bfb5542bfd76e3c218a7bc..82be362005d7505e563f3295dade4384f112028f 100644 (file)
@@ -1013,6 +1013,11 @@ Filling
 
    Fill the shape drawn after the last call to :func:`begin_fill`.
 
+   Whether or not overlap regions for self-intersecting polygons
+   or multiple shapes are filled depends on the operating system graphics,
+   type of overlap, and number of overlaps.  For example, the Turtle star
+   above may be either all yellow or have some white regions.
+
    .. doctest::
 
       >>> turtle.color("black", "red")
diff --git a/Misc/NEWS.d/next/Documentation/2020-01-27-18-18-42.bpo-39392.oiqcLO.rst b/Misc/NEWS.d/next/Documentation/2020-01-27-18-18-42.bpo-39392.oiqcLO.rst
new file mode 100644 (file)
index 0000000..7158749
--- /dev/null
@@ -0,0 +1 @@
+Explain that when filling with turtle, overlap regions may be left unfilled.