55 Commits

Author SHA1 Message Date
Serhiy Storchaka
fd4cafd470 bpo-41720: Add "return NotImplemented" in turtle.Vec2D.__rmul__(). (GH-22092) 2020-09-07 18:55:22 +03:00
Marek Madejski
6844b56176 bpo-41528: Use math module in turtle (GH-21837)
Use angle-related functions from math module instead of reinventing the wheel.
2020-09-01 12:42:41 -04:00
Xtreak
0d70227e41 Fix typos in docs and docstrings (GH-13745) 2019-06-03 01:12:33 +02:00
penguindustin
9646630895 bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
4edeaeac4c bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565) 2018-11-16 15:28:51 +02:00
Serhiy Storchaka
3f2e6f15d6 Revert unneccessary changes made in bpo-30296 and apply other improvements. (GH-2624) 2018-02-26 16:50:11 +02:00
luzpaz
a5293b4ff2 Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
Jon Dufresne
3972628de3 bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)
* Replaced list(<generator expression>) with list comprehension
* Replaced dict(<generator expression>) with dict comprehension
* Replaced set(<list literal>) with set literal
* Replaced builtin func(<list comprehension>) with func(<generator
  expression>) when supported (e.g. any(), all(), tuple(), min(), &
  max())
2017-05-18 07:35:54 -07:00
Martin Panter
99e843b48e Correct spelling in documentation and code comment 2016-09-10 10:38:28 +00:00
Serhiy Storchaka
cefa9172a2 Issue #27238: Got rid of bare excepts in the turtle module. Original patch
by Jelle Zijlstra.
2016-06-14 22:52:04 +03:00
Serhiy Storchaka
80a1803193 Issue #6639: Module-level turtle functions no longer raise TclError after
closing the window.
2015-02-22 17:25:33 +02:00
Ned Deily
152dfd1dac Issue #22168: Prevent turtle AttributeError with non-default Canvas on OS X. 2014-09-13 23:39:16 -07:00
Raymond Hettinger
854e76effa Issue #21868: Prevent turtle crash due to invalid undo buffer size. 2014-07-20 21:30:32 -07:00
Terry Jan Reedy
f5ac57dc05 Issue #21882: In turtle demos, remove module scope gui and sys calls by
either deleting or moving to the module's main function.
2014-06-30 16:09:24 -04:00
Raymond Hettinger
6dec4eae53 Issue #21812: Trigger immediate transformation in turtle.shapetransform(). 2014-06-22 01:21:51 -07:00
Ned Deily
09ae544ea3 Issue #11571: Ensure that the turtle window becomes the topmost window
when launched on OS X.  (Original patch by Ronald Oussoren)
2014-04-19 19:11:14 -07:00
Ezio Melotti
9a3777e525 #18705: merge with 3.3. 2013-08-17 15:53:55 +03:00
Ezio Melotti
30b9d5d3af #18705: fix a number of typos. Patch by Févry Thibault. 2013-08-17 15:50:46 +03:00
Terry Jan Reedy
16b5c13668 Merge 3.3, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:59:07 -04:00
Terry Jan Reedy
98472b8396 Merge 3.2, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:58:27 -04:00
Terry Jan Reedy
c30b7b16ea Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:57:08 -04:00
Giampaolo Rodola'
2f50aaf2ff modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
Petri Lehtinen
5645850013 Issue #13439: Merge branch 3.2 2011-12-02 21:25:39 +02:00
Petri Lehtinen
9aa20affb6 Issue #13439: Fix many errors in turtle docstrings. 2011-12-02 21:24:14 +02:00
Ezio Melotti
e130a52d8a Remove duplication. 2011-10-19 10:58:56 +03:00