Commit Graph

46 Commits

Author SHA1 Message Date
Dong-hee Na 19b3a4885c [2.7] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1305) 2017-04-26 09:55:32 -07:00
Martin Panter e3e362e398 Issue #26638: Mask undefined CLI options to defeat new Sphinx warnings 2016-10-30 05:19:02 +00:00
Martin Panter 8f1dd224e0 Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Martin Panter fb45216da8 Issue #26638: Fix links to some CLI options
Disable inappropriate links to Python interpreter options. Also make CLI
section label in timeit less ambiguous.
2016-04-16 04:59:38 +00:00
Martin Panter 4ed35fc4f3 Issue #25161: Add full stops in documentation; patch by Takase Arihiro 2015-10-10 10:52:35 +00:00
R David Murray a68109a248 #0712: 2to3 has a new "asserts" fixer that replaces deprecated names of unittest methods.
Patch by Ezio Melotti, docs by Berker Peksag.
2014-10-09 23:13:42 -04:00
Serhiy Storchaka ea217728c3 Issue #20643: Fixed references to the next() method (distinguish from the
next() function).
2014-09-05 23:34:12 +03:00
Benjamin Peterson d2058fb5b2 give the correct fixer name (closes #21604) 2014-05-31 13:16:49 -07:00
Serhiy Storchaka b33336f650 Issue #18758: Fixed and improved cross-references. 2013-10-13 23:09:00 +03:00
Benjamin Peterson 8d15ca3cc6 fix long fixer docs (#4590) 2013-01-28 18:28:38 -05:00
Chris Jerdonek 2aa5afab4e Issue #16199: Backport 2to3 typo fix from 3.2. 2012-10-11 16:15:46 -07:00
Ezio Melotti 510ff54324 Use Python 3 instead of 3.0. 2012-05-03 19:21:40 +03:00
Gregory P. Smith 12426998ce Issue #13930: Adds ability for 2to3 to write its output to a different
directory tree instead of overwriting the input files.  Adds three command
line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix.

Feature backports into stable release branches for 2to3 are allowed by
a special exemption:
 http://mail.python.org/pipermail/python-dev/2011-December/115089.html
2012-02-12 15:51:21 -08:00
Benjamin Peterson 414ffa86b5 note callable is back in 3.2 2011-10-24 08:51:15 -04:00
Raymond Hettinger cec795d639 It is really a suffix :-) 2011-07-14 14:41:43 +08:00
Georg Brandl 0930228aee Merged revisions 84945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84945 | georg.brandl | 2010-09-21 16:48:28 +0200 (Di, 21 Sep 2010) | 1 line

  #9911: doc copyedits.
........
2010-10-06 09:32:48 +00:00
Benjamin Peterson 52a70c4a12 fix fixer name 2010-07-01 17:45:52 +00:00
Benjamin Peterson 2405547a2a wrap 2010-03-20 16:17:37 +00:00
Benjamin Peterson d47667c32b document exitfunc fixer 2010-03-20 16:16:44 +00:00
Alexandre Vassalotti b227f47b2b Added documentation for dictionary views fixer. 2010-01-12 18:25:33 +00:00
Benjamin Peterson 0d19eaf1eb document new fix_callable behavior 2009-12-28 20:51:17 +00:00
Benjamin Peterson 0ac6942a76 discuss how to use -p 2009-11-09 04:10:53 +00:00
Georg Brandl d7d4fd7336 builtin -> built-in. 2009-07-26 14:37:28 +00:00
Georg Brandl 9fa61bb37d #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. 2009-07-26 14:19:57 +00:00
Benjamin Peterson 83dfc307c1 remove docs for deprecated -p option 2009-07-20 13:30:10 +00:00
Benjamin Peterson 2b42c29a50 add myself 2009-05-02 20:26:53 +00:00
Georg Brandl 16a57f6a34 Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
should clutter the docs as possible.  Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
Georg Brandl e83a4adba7 #5486: typos. 2009-03-13 19:03:58 +00:00
Georg Brandl 52bc7b85fd Fix grammar. 2009-02-23 18:33:48 +00:00
Benjamin Peterson b8e17f7370 a few edits and typos 2009-02-08 15:14:57 +00:00
Benjamin Peterson c5e68b1898 document numliterals fixer 2009-02-08 14:38:13 +00:00
Benjamin Peterson e0820e2ea7 document individual 2to3 fixers 2009-02-07 23:01:19 +00:00
Benjamin Peterson 51a37034db add email addresses 2009-01-11 19:48:15 +00:00
Benjamin Peterson cd29e9d9e1 and another typo... 2008-10-22 21:05:30 +00:00
Benjamin Peterson 92be53911d fix a few typos 2008-10-22 20:57:43 +00:00
Benjamin Peterson f3d0ce1502 mention -n 2008-10-19 19:39:16 +00:00
Benjamin Peterson 0ecbccad2d document how to disable fixers 2008-10-13 21:51:40 +00:00
Benjamin Peterson b51f81def4 note the 2to3 -d could be useful for other refactoring 2008-09-28 01:53:29 +00:00
Benjamin Peterson 7f8f6605e2 2to3's api should be considered unstable 2008-09-27 16:23:55 +00:00
Benjamin Peterson 6be425c85f be less wordy 2008-09-16 21:20:28 +00:00
Benjamin Peterson ad2a9e72f1 actually tell the name of the flag to use 2008-09-06 03:00:00 +00:00
Benjamin Peterson 15ad6c0f2b flesh out the documentation on using 2to3 2008-09-04 23:31:27 +00:00
Benjamin Peterson eb55fd8d2f Merged revisions 66173 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r66173 | benjamin.peterson | 2008-09-02 18:57:48 -0500 (Tue, 02 Sep 2008) | 8 lines

  A little 2to3 refactoring #3637

  This moves command line logic from refactor.py to a new file called
  main.py.  RefactoringTool now merely deals with the actual fixers and
  refactoring; options processing for example is abstracted out.

  This patch was reviewed by Gregory P. Smith.
........
2008-09-03 00:21:32 +00:00
Benjamin Peterson 3ac2f24f25 fix indentation 2008-07-25 21:59:53 +00:00
Georg Brandl 340739e216 Fix indentation. 2008-07-24 07:09:21 +00:00
Benjamin Peterson 4020221838 add some documentation for 2to3 2008-07-24 02:45:37 +00:00