Georg Brandl
f1d371bde9
Update example; str(float) changed so there is difference now.
2016-02-22 14:52:55 +01:00
Martin Panter
d5db14794b
Issue #25179 : Preparatory cleanup of existing docs on string formatting
...
* Various sections were pointing to the section on the string.Formatter
class, when the section on the common format string syntax is probably more
appropriate
* Fix references to various format() functions and methods
* Nested replacement fields may contain conversions and format specifiers,
and this is tested; see Issue #19729 for instance
2016-02-08 01:34:09 +00:00
Senthil Kumaran
80538e9dfe
Issue26135 - In the tutorial section on modules, reference importlib.reload instead of imp.reload.
2016-01-16 18:43:24 -08:00
Ezio Melotti
397bb2486a
#26001 : mention in the tutorial that files in binary mode expect bytes, not str.
2016-01-12 11:27:30 +02:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
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
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka
153627c111
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:46:20 +03:00
Serhiy Storchaka
0424eaf753
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:45:25 +03:00
Raymond Hettinger
502bf511b3
Improve tutorial suggestion for looping techniques
2015-09-01 02:33:02 -07:00
Jason R. Coombs
842c07414e
Issue #24729 : Correct reference to open function.
2015-07-29 14:04:36 -04:00
Alessandro Cucci
d8de44b6b3
Issue #24729 : Update tutorial to match implementation.
2015-07-28 21:00:10 +02:00
Jason R. Coombs
0598da39ec
Merge with 3.4 for Issue #24729
2015-07-29 14:29:26 -04:00
Tal Einat
86a60bfb08
Merge from 3.4
2015-06-09 18:42:18 +03:00
Tal Einat
f330d53691
#23891 : correctly refer to PyPI as "Python Package Index"
2015-06-09 18:40:16 +03:00
Andrew Kuchling
6b84335ada
Merge from 3.4
2015-06-08 18:19:51 -04:00
Andrew Kuchling
d00407115d
#23891 : remove extra words
2015-06-08 18:17:06 -04:00
Andrew Kuchling
21fd5a92de
Merge from 3.4
2015-06-08 17:40:18 -04:00
Andrew Kuchling
dd15b36c90
#23891 : add a section to the Tutorial describing virtual environments and pip
2015-06-08 17:35:45 -04:00
Andrew Kuchling
20f628ee08
Merge from 3.4
2015-06-08 17:14:13 -04:00
Andrew Kuchling
4a75174fba
Add link to pyvideoorg
2015-06-07 03:00:58 -04:00
Andrew Kuchling
ecacfd80e3
#23891 : rework discussion of python-list a bit
2015-06-06 20:25:21 -04:00
Yury Selivanov
7aa5341164
Reverting my previous commit.
...
Something went horribly wrong when I was doing `hg rebase`.
2015-05-30 10:57:56 -04:00
Ned Deily
ffb40e5ec3
More version bumping to 3.6.
...
With the creation of the 3.5 branch earlier in the process,
it is necessary to do some of the version bumps now rather than at
final release time (for example, the equivalent of the 3.4->3.5 bumps
in f2bf12fa22c1). (Some of those changes have already been made, for
example in 30f5e7ec6afe.)
2015-05-27 22:00:46 -07:00
Serhiy Storchaka
e6efbdc947
Remove UTF-8 BOMs.
2015-05-25 12:29:53 +03:00
Serhiy Storchaka
410d77f230
Remove UTF-8 BOMs.
2015-05-25 12:27:39 +03:00
Brett Cannon
f299abdafa
Issue #23731 : Implement PEP 488.
...
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
2015-04-13 14:21:02 -04:00
Zachary Ware
3f103462fb
Closes #23932 : Merge with 3.4
2015-04-13 11:32:01 -05:00
Zachary Ware
f3b990e48c
Issue #23932 : Update the tutorial section on function annotations.
...
Patch by Juti Noppornpitak.
2015-04-13 11:30:47 -05:00
Berker Peksag
556e08e9b2
Issue #12955 : Change the urlopen() examples to use context managers where appropriate.
...
Patch by Martin Panter.
2015-04-12 13:53:33 +03:00
Berker Peksag
9575e1891f
Issue #12955 : Change the urlopen() examples to use context managers where appropriate.
...
Patch by Martin Panter.
2015-04-12 13:52:49 +03:00
Andrew Kuchling
d71b170a4d
#23891 : describe a few more modules in the tutorial
2015-04-09 22:20:01 -04:00
Berker Peksag
b820d0defc
Issue #23286 : Fix typo in the tutorial.
...
Patch by Mayank Tripathi.
2015-01-27 02:52:40 +02:00
Berker Peksag
b68c420d8a
Issue #23286 : Fix typo in the tutorial.
...
Patch by Mayank Tripathi.
2015-01-27 02:52:14 +02:00
Serhiy Storchaka
d3faf43f9b
Issue #23181 : More "codepoint" -> "code point".
2015-01-18 11:28:37 +02:00
Georg Brandl
3be472b5f7
Closes #23181 : codepoint -> code point
2015-01-14 08:26:30 +01:00
Berker Peksag
64c8914048
Issue #23070 : Fix a comment in the tutorial.
...
"Python" has 6 characters, not 7.
Reported by Ross Burnett.
2014-12-17 14:57:13 +02:00
Berker Peksag
2338156fa4
Issue #23070 : Fix a comment in the tutorial.
...
"Python" has 6 characters, not 7.
Reported by Ross Burnett.
2014-12-17 14:56:47 +02:00
Berker Peksag
8b1cbd2b7c
Issue #12602 : Add missing cross-references to runpy and using/cmdline docs.
...
Patch by Éric Araujo.
2014-12-10 01:47:02 +02:00
Berker Peksag
0ecd7ba968
Issue #12602 : Add missing cross-references to runpy and using/cmdline docs.
...
Patch by Éric Araujo.
2014-12-10 01:47:50 +02:00
Raymond Hettinger
ffd842e1d6
Issue #22824 : Updated reprlib output format for sets to use set literals.
2014-11-09 22:30:36 -08:00
Georg Brandl
fe98180bce
merge with 3.4
2014-10-31 09:29:48 +01:00
Georg Brandl
f0d2ed73ac
minor grammar fixes (from docs@python.org)
2014-10-31 09:29:38 +01:00
Georg Brandl
6b4c847c4f
Doc: fix default role usage (except in unittest mock docs)
2014-10-30 22:26:26 +01:00
Georg Brandl
93a56cdc37
Doc: fix default role usage (except in unittest mock docs)
2014-10-30 22:25:41 +01:00
Georg Brandl
794e9bf1fe
merge with 3.4
2014-10-29 10:27:06 +01:00
Georg Brandl
525d355984
Fixing broken links in doc, part 3: the rest
2014-10-29 10:26:56 +01:00
Georg Brandl
cadc3fdcb5
Merge with 3.4
2014-10-29 08:37:29 +01:00
Georg Brandl
e73778c1ac
Use https:// URLs when referring to python.org hosts.
2014-10-29 08:36:35 +01:00
R David Murray
bbf4ae51e4
Merge #21739 : mention subtle difference between loops and listcomps in tutorial.
2014-09-30 21:26:24 -04:00
R David Murray
6bd68608ff
#21739 : mention subtle difference between loops and listcomps in tutorial.
...
We don't want to go into a full explanation of scopes at this point in the
tutorial, so we just mention that the loop creates or overwrites a persistent
variable while the listcomp doesn't. Not mentioning this would lead someone
to incorrectly assume loops and listcomps were *completely* equivalent, which
would confuse them later.
Original patch by Rose Ames, tweaked to remove the word 'scope'.
2014-09-30 21:25:38 -04:00