Skip to content

Commit 4e16387

Browse files
committed
Slightly better Window.__init__ docstring.
1 parent da4d739 commit 4e16387

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/aturtle/window.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@ def __init__(self, width=320, height=320, x=None, y=None,
2323
Initialize a Window with the given `width` and `height`, filled in
2424
`fill_color`, with the given `title`.
2525
26-
Positive `x` and `y` values place the Window's from the screen's top-
27-
left corner. Negative values place it from the bottom-right corner.
26+
Positive `x` and `y` values place the Window from the screen's top-
27+
left corner. Negative values place it from the bottom-right corner.
28+
29+
Windows hold a canvas object that automatically sizes up/down on
30+
Window resizes, and keeps its (0, 0) origin at the horizontal and
31+
vertical Window center.
2832
"""
2933

3034
tk_window = tkinter.Tk() if not Window._windows else tkinter.Toplevel()

0 commit comments

Comments
 (0)