Commit Graph

882 Commits

Author SHA1 Message Date
Martin Panter a850ef698e Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Martin Panter b362f75f6e Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
2015-11-02 03:37:02 +00:00
Martin Panter 8d496add74 Issue #27171: Fix typos in documentation, code comments, and tests 2016-06-02 10:35:44 +00:00
Martin Panter b44c4520d9 Issue #27125: Fix various errors like “will [be] inherited” 2016-05-29 08:13:58 +00:00
Martin Panter b1d867f149 Issue #27076: Doc, comment and test function name spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:28:50 +00:00
Martin Panter 4f23cabc16 Corrections for a/an in code comments and documentation 2016-05-08 13:45:55 +00:00
Serhiy Storchaka 9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Serhiy Storchaka cc49aa1381 Issue #6639: Module-level turtle functions no longer raise TclError after
closing the window.
2015-02-22 17:22:53 +02:00
Benjamin Peterson 91f04dd6fd nuke ancient script with dubious license (closes #12987) 2014-12-02 18:45:23 -05:00
Terry Jan Reedy 1375538b1a De-'colour'ize stdlib except for idlelib.configDialog.
Tweak docstrigs and comments in affected functions in idlelib.configHandler.
2014-10-09 18:44:26 -04:00
Terry Jan Reedy d85a9ef376 Issue #22051: remove unneeded reload that allowed bad code. 2014-09-03 19:29:11 -04:00
Terry Jan Reedy 87355a77db Modernize turtledemo with conditional expressions; remove duplicate line. 2014-07-27 03:00:47 -04:00
Terry Jan Reedy 98e6fa6c3f Issue #22061: remove call of useless function slated for removal. 2014-07-25 03:06:27 -04:00
Terry Jan Reedy 8ac01bf038 Issue #22053: Make help work, after previous patch for this issue disabled it
by removing global 'demo'. Refactor and remove duplicate code.
2014-07-25 01:56:17 -04:00
Terry Jan Reedy cbe6d24313 Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning. 2014-07-23 17:27:51 -04:00
Terry Jan Reedy e2fbf4faca Issue #21597: Turtledemo text pane can now be widened to view or copy complete
lines or narrowed for small screens.
Issie #19132: Turtledemo buttons no longer disappear when window is shrun.
Patch mostly by Lita Cho (21597) using idea from patch by Jan Kanis (18132).
2014-07-23 15:01:07 -04:00
Terry Jan Reedy f7f746a828 Issue #21882: In turtle demos, remove module scope gui and sys calls by
moving them to the module's main function.
2014-06-30 16:09:16 -04:00
Terry Jan Reedy 3fecd48bde Issue #14117: Inprove help text and docstrings, some for clarity, some just to
fit in the default width of the text window (45 chars).
2014-06-24 22:21:36 -04:00
Terry Jan Reedy ed6820d395 Issue #21824: Turtledemo 2.7 help menu entries now display help text instead
of help file name.
2014-06-22 02:32:26 -04:00
Terry Jan Reedy 122df1eda4 Issue #21823: Catch turtle.Terminator exceptions in turtledemo.
Add note to demohelp.txt about doing so.
2014-06-22 01:18:48 -04:00
Serhiy Storchaka e0ed2d75c8 Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them.  Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
2014-01-16 18:59:17 +02:00
Serhiy Storchaka f52d574481 Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py. 2013-07-16 22:11:28 +03:00
Ezio Melotti 1e87da16ea Remove duplication. 2011-10-19 10:39:35 +03:00
Sandro Tosi 1381a31e39 #12677: correct turtle orientation in doc 2011-08-07 17:09:15 +02:00
Georg Brandl faa9ad2a46 Add updated .hgeol file and fix newlines in the 2.7 branch. 2011-03-05 15:06:13 +01:00
Benjamin Peterson 4de6b06134 Merged revisions 85429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85429 | benjamin.peterson | 2010-10-13 16:59:36 -0500 (Wed, 13 Oct 2010) | 1 line

  remove obselete import implementation #7287
........
2010-10-13 22:07:17 +00:00
Georg Brandl 406f7a99fd Merged revisions 82594,82599 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82594 | georg.brandl | 2010-07-05 22:13:41 +0200 (Mo, 05 Jul 2010) | 1 line

  Update Vec class constructor, remove indirection via function, use operator module.
........
  r82599 | alexander.belopolsky | 2010-07-05 23:44:05 +0200 (Mo, 05 Jul 2010) | 1 line

  "Modernized" the demo a little.
........
2010-07-27 08:45:35 +00:00
Mark Dickinson 2037913507 Update Demo/parser directory; backport unparse fixes from py3k. 2010-06-30 14:19:56 +00:00
Mark Dickinson 0187be0825 unparse.py: fix mispaced parentheses in chained comparisons 2010-06-28 19:54:19 +00:00
Mark Dickinson b83a1ff76b Fix typo in test_unparse.py. 2010-06-28 19:34:15 +00:00
Mark Dickinson 623b979553 Fix some shallow bugs in Demo/parser/unparse.py, and add tests:
- insert commas between entries in del statement
  - left and right shifts were represented as >> and << (respectively); reverse
  - unindent properly after for: else:  or while: else:
  - add parens around the result of an unary operation
  - add parens around negative numbers, to avoid turning (-1)**2 into -1**2.
2010-06-28 19:31:41 +00:00
Andrew M. Kuchling de0aeaa432 #5753: update demo.c to use PySys_SetArgvEx(), and add a comment 2010-06-11 00:16:08 +00:00
Andrew M. Kuchling a0b0c6f23c Edit comments for current Python; bump version number of Python 2010-06-11 00:14:34 +00:00
Georg Brandl 84a8d8fbf2 #8616: add new turtle demo "nim". 2010-05-29 08:46:18 +00:00
Georg Brandl 574a857640 #8616: update module name 2010-05-24 21:37:54 +00:00
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
Ronald Oussoren 9545a23c7f In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).

Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Benjamin Peterson 9cf41d0c9d normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
Benjamin Peterson cd0ace391c remove svn:executable from scripts without a shebang line 2010-03-08 02:11:06 +00:00
Georg Brandl f1ca811abb Fix a demo. 2009-10-25 20:25:43 +00:00
Georg Brandl 32855b6dcd Overhaul of Demo/xml. 2009-10-11 15:06:44 +00:00
Georg Brandl b3f9d66ca3 Remove ftpstats script, the daemon whose log files it reads is long gone. 2009-10-11 14:49:37 +00:00
Georg Brandl 393c823245 Update lpwatch script. 2009-10-11 14:23:49 +00:00
Georg Brandl 8ec30e835f Fix variable. 2009-10-11 12:03:01 +00:00
Georg Brandl ce662d0467 Use getopt in script.py demo. 2009-10-11 12:00:18 +00:00
Mark Dickinson 9bb796597d Set missing executable property on scripts 2009-10-11 10:01:17 +00:00
Mark Dickinson ab6d373aa0 Fix 'primes 0 1' 2009-10-11 09:35:57 +00:00
Georg Brandl 4271ecaf72 Update primes script. 2009-10-11 08:48:28 +00:00
Georg Brandl 6e62c56416 Remove useless script "mkrcs" and update README. 2009-10-11 08:45:03 +00:00
Georg Brandl 86d38e9ecc Update markov demo. 2009-10-11 08:39:16 +00:00