Martin Panter
0ed1bcdff8
Issue #23406 : Clarify documentation on multiplying a sequence
...
Patch from Matheus Vieira Portela.
2015-09-07 01:40:33 +00:00
Robert Collins
f524799a65
Issue #23589 : Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
2015-07-30 06:14:32 +12:00
Georg Brandl
0f5d6c00b4
Fixing broken links in doc, part 4: some more breaks and redirects
2014-10-29 10:57:37 +01:00
Georg Brandl
fa55a317e4
Fixing broken links in doc, part 1: faq/
2014-10-29 09:24:54 +01:00
Georg Brandl
66e624b18c
Remove now-dead link to IDLE debugger doc and add PyCharm to the commercial IDEs.
2014-10-29 08:55:14 +01:00
Georg Brandl
06f3b3b98c
Use https:// URLs when referring to python.org hosts.
2014-10-29 08:36:35 +01:00
Georg Brandl
8b14dd39cf
Closes #10031 : overhaul the "imports" section of the programming FAQ.
...
Remove the advice to never use relative imports.
Remove the advice to locally import modules in __init__, it is a strange practice.
Remove the advice to use "from ... import *" with some modules.
2014-10-06 16:21:08 +02:00
R David Murray
276a0a578e
#20135 : FAQ entry for list mutation.
...
This is a perennial question and something someone opens a ticket for probably
every other month or so, so I'm surprised we didn't already have a FAQ entry
for it.
The original patch was written by M. Votz, refined first by Ezio Melotti and
further refined by me.
2014-09-29 10:23:43 -04:00
Ezio Melotti
c468abafc7
#18034 : update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst.
2014-08-04 19:34:29 +03:00
Ezio Melotti
4f7e09a9eb
#20135 : move FAQ about mutable default arguments to the programming FAQs page.
2014-07-06 20:53:27 +03:00
Jesus Cea
ee2cb3fa9b
Closes #21759 : URL Typo in Documentation FAQ
2014-06-16 14:11:14 +02:00
Serhiy Storchaka
b712873a63
Removed spaces before colons and semicolons.
2013-12-24 11:04:06 +02:00
Georg Brandl
0f79cac1bf
Closes #13203 : add a FAQ section about seemingly duplicate id()s.
2013-10-12 18:14:25 +02:00
R David Murray
ff22984ff1
Tweak programming faq examples so that it (mostly) passes doctest.
...
Back port of 0113247f894b from 3.3.
The exceptions are the import related questions at the end, which
need to be rewritten anyway, and a math example that doesn't
exist in the 3.3+ docs that I didn't bother trying to fix.
2013-06-19 17:00:43 -04:00
Ezio Melotti
c49805e967
#18126 : update NumPy links in the documentation. Patch by Yury V. Zaytsev.
2013-06-09 01:04:21 +03:00
R David Murray
e6f2e6cc84
#17973 : fix technical inaccuracy in faq entry (it now passes doctest).
2013-05-21 11:46:18 -04:00
R David Murray
ed983ab8a9
#17973 : Add FAQ entry for ([],)[0] += [1] both extending and raising.
...
This has come up often enough now on the tracker that it deserves a FAQ entry.
2013-05-20 10:34:58 -04:00
Georg Brandl
75da35747e
Backport rev. 3ae74b361f53 to 2.7 branch.
2013-03-28 13:35:18 +01:00
Georg Brandl
44ea77bd81
Closes #4159 : add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.
2013-03-28 13:28:44 +01:00
Ezio Melotti
cad8b0ff8e
#13094 : add Programming FAQ entry about the behavior of closures.
2013-01-05 00:50:46 +02:00
Chris Jerdonek
b43099464a
Add additional links and index entries for "argument" and "parameter".
...
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:54:44 -08:00
Chris Jerdonek
c2a7fd60e1
Improve argument/parameter documentation (issue #15990 ).
...
This commit adds "parameter" to the glossary, improves and consolidates the
"argument" glossary entry, and adds a question to the FAQ on the difference
between arguments and parameters.
2012-11-28 02:29:33 -08:00
Antoine Pitrou
d0c665e062
Remove pointless discussion of the lack of a ternary operator
2013-01-17 23:10:12 +01:00
Ezio Melotti
58abc5bcd7
#13094 : add Programming FAQ entry about the behavior of closures.
2013-01-05 00:49:48 +02:00
Chris Jerdonek
cf4710c323
Add additional links and index entries for "argument" and "parameter".
...
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:50:21 -08:00
Chris Jerdonek
8da8268b1f
Backport from 3.2: improve argument/parameter documentation (issue #15990 ).
...
The corresponding 3.x commits are 69d5d834c5cb, 40fd26a4206b, and
74d8a2a20c52.
2012-11-29 19:03:37 -08:00
Georg Brandl
300a691026
Closes #14305 : fix typo.
2012-03-14 22:40:08 +01:00
Sandro Tosi
98ed08f24e
update to new C roles and directives
2012-01-14 16:42:02 +01:00
Antoine Pitrou
432259feea
Issue #13528 : rework the performance question in the programming FAQ
2011-12-09 23:10:31 +01:00
Antoine Pitrou
f35204055e
Remove outdate FAQ content
2011-12-03 22:19:55 +01:00
Antoine Pitrou
c5b266efb5
Streamline FAQ entry about the ternary operator, and suggest using io.StringIO for a mutable unicode container.
2011-12-03 22:11:11 +01:00
Antoine Pitrou
9cb41dfbaa
Remove references to psyco, which is mostly unmaintained and doesn't work with Python 3.
2011-12-03 21:21:36 +01:00
Georg Brandl
eacada8656
Close #12838 : fix range() call.
2011-08-25 11:52:26 +02:00
Antoine Pitrou
fd9ebd4a36
Clarify concatenation behaviour of immutable strings, and remove explicit
...
mention of the CPython optimization hack.
2011-11-25 16:33:53 +01:00
Éric Araujo
7af8ebb6ce
Adapt/remove mentions of functions gone in 3.x
2011-09-01 03:20:13 +02:00
Georg Brandl
e1eef41a18
Close #12838 : fix range() call.
2011-08-25 11:52:26 +02:00
Antoine Pitrou
09264b66f2
Mention Cython and remove obsolete alternatives
2011-02-05 10:57:17 +00:00
Georg Brandl
60203b41b0
Migrate to Sphinx 1.0 C language constructs.
2010-10-06 10:11:56 +00: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
Brian Curtin
e49aefcc51
Merged revisions 84971 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84971 | brian.curtin | 2010-09-23 08:45:21 -0500 (Thu, 23 Sep 2010) | 2 lines
#9582 - add a missing "are" and reflow the line.
........
2010-09-23 13:48:06 +00:00
Brian Curtin
5a7a52fbb0
#9582 - add a missing "are" and reflow the line.
2010-09-23 13:45:21 +00:00
Georg Brandl
6faee4e2ce
#9911 : doc copyedits.
2010-09-21 14:48:28 +00:00
Georg Brandl
c4a55fccab
Recorded merge of revisions 78024 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78024 | georg.brandl | 2010-02-06 19:44:44 +0100 (Sa, 06 Feb 2010) | 1 line
#5341 : fix "builtin" where used as an adjective ("built-in" is correct).
........
2010-02-06 18:46:57 +00:00
Georg Brandl
6f82cd309c
#5341 : fix "builtin" where used as an adjective ("built-in" is correct).
2010-02-06 18:44:44 +00:00
Georg Brandl
11b636291a
#7495 : more review fixes.
2009-12-20 14:21:27 +00:00
Georg Brandl
0cedb4bffa
#7495 : backport Programming FAQ review to trunk.
2009-12-20 14:20:16 +00:00
Georg Brandl
62eaaf62ff
#7495 : Review of Programming FAQ by Florent Xicluna.
2009-12-19 17:51:41 +00:00
R. David Murray
18163c3f14
Fix print function conversion missed in merge of faq/programming update.
2009-11-14 22:27:22 +00:00
R. David Murray
c04a694614
Merged revisions 76190 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76190 | r.david.murray | 2009-11-10 13:58:02 -0500 (Tue, 10 Nov 2009) | 3 lines
Update the FAQ entry that explains that assignments in the local scope
shadow variables in the outer scope (issue 7290).
........
2009-11-14 22:21:32 +00:00
R. David Murray
890643843d
Update the FAQ entry that explains that assignments in the local scope
...
shadow variables in the outer scope (issue 7290).
2009-11-10 18:58:02 +00:00