Berker Peksag
cea632ece5
Issue #21864 : Remove outdated section about exceptions from the tutorial
Move the still relevant parts of it to the previous
chapter, "Errors and Exceptions".
9 years ago
Terry Jan Reedy
30eee4deec
Issue #28815 : Change '?' to '<module>' in some doc examples.
Patch by Mariatta Wijaya.
9 years ago
Berker Peksag
cf79cdb79d
Issue #28306 : Update exception message of ZeroDivisionError
9 years ago
Ned Deily
4829bc6619
Bump to 3.7.0a0
9 years ago
Raymond Hettinger
7f65af3d2d
Issue 27719: Remove a doc example that is not applicable in Python 3
10 years ago
Zachary Ware
c483a01a8f
Issue #27206 : Fix doctests in Doc/tutorial.
Patch by Jelle Zijlstra.
10 years ago
Martin Panter
1050d2d0c7
Issue #26462 : Doc: reduce literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
10 years ago
Brett Cannon
15552c39e0
Issue #27285 : Document the deprecation of the pyvenv script.
As part of the update, the documentation was updated to normalize
around the term "virtual environment" instead of relying too heavily
on "venv" for the same meaning and leading to inconsistent usage of
either.
Thanks to Steve Piercy for the patch.
10 years ago
Martin Panter
bae5d81f5d
Issue #24314 : Fix doc links for general attributes like __name__, __dict__
10 years ago
Berker Peksag
0a5120e457
Issue #23116 : Improve ask_ok() example in the Python tutorial
10 years ago
Berker Peksag
c5f4036e6c
Issue #27178 : Fix markup in tutorial
Patch by Nathan Harold.
10 years ago
Berker Peksag
93818c752d
Issue #27174 : Update IPython URL in tutorial
10 years ago
Berker Peksag
8e937f80c9
Fix typo in Python tutorial
10 years ago
Serhiy Storchaka
dba903993a
Issue #23921 : Standardized documentation whitespace formatting.
Original patch by James Edwards.
10 years ago
Serhiy Storchaka
6dff0205b7
Issue #26736 : Used HTTPS for external links in the documentation if possible.
10 years ago
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
10 years ago
Georg Brandl
f1d371bde9
Update example; str(float) changed so there is difference now.
10 years ago
Georg Brandl
40383c8f10
Minor clarification in tutorial.
10 years ago
Martin Panter
bc1ee460dc
Issue #25179 : Documentation for formatted string literals aka f-strings
Some of the inspiration and wording is taken from the text of PEP 498 by Eric
V. Smith, and the existing str.format() documentation.
10 years ago
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
10 years ago
Senthil Kumaran
80538e9dfe
Issue26135 - In the tutorial section on modules, reference importlib.reload instead of imp.reload.
10 years ago
Ezio Melotti
397bb2486a
#26001 : mention in the tutorial that files in binary mode expect bytes, not str.
10 years ago
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.
10 years ago
Serhiy Storchaka
0424eaf753
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
10 years ago
Raymond Hettinger
502bf511b3
Improve tutorial suggestion for looping techniques
10 years ago
Jason R. Coombs
842c07414e
Issue #24729 : Correct reference to open function.
11 years ago
Alessandro Cucci
d8de44b6b3
Issue #24729 : Update tutorial to match implementation.
11 years ago
Tal Einat
f330d53691
#23891 : correctly refer to PyPI as "Python Package Index"
11 years ago
Andrew Kuchling
d00407115d
#23891 : remove extra words
11 years ago
Andrew Kuchling
dd15b36c90
#23891 : add a section to the Tutorial describing virtual environments and pip
11 years ago
Andrew Kuchling
4a75174fba
Add link to pyvideoorg
11 years ago
Andrew Kuchling
ecacfd80e3
#23891 : rework discussion of python-list a bit
11 years ago
Yury Selivanov
7aa5341164
Reverting my previous commit.
Something went horribly wrong when I was doing `hg rebase`.
11 years ago
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.)
11 years ago
Serhiy Storchaka
410d77f230
Remove UTF-8 BOMs.
11 years ago
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.
11 years ago
Zachary Ware
f3b990e48c
Issue #23932 : Update the tutorial section on function annotations.
Patch by Juti Noppornpitak.
11 years ago
Berker Peksag
9575e1891f
Issue #12955 : Change the urlopen() examples to use context managers where appropriate.
Patch by Martin Panter.
11 years ago
Andrew Kuchling
d71b170a4d
#23891 : describe a few more modules in the tutorial
11 years ago
Berker Peksag
b68c420d8a
Issue #23286 : Fix typo in the tutorial.
Patch by Mayank Tripathi.
11 years ago
Serhiy Storchaka
d3faf43f9b
Issue #23181 : More "codepoint" -> "code point".
11 years ago
Georg Brandl
3be472b5f7
Closes #23181 : codepoint -> code point
11 years ago
Berker Peksag
2338156fa4
Issue #23070 : Fix a comment in the tutorial.
"Python" has 6 characters, not 7.
Reported by Ross Burnett.
11 years ago
Berker Peksag
8b1cbd2b7c
Issue #12602 : Add missing cross-references to runpy and using/cmdline docs.
Patch by Éric Araujo.
11 years ago
Raymond Hettinger
ffd842e1d6
Issue #22824 : Updated reprlib output format for sets to use set literals.
11 years ago
Georg Brandl
f0d2ed73ac
minor grammar fixes (from docs@python.org)
11 years ago
Georg Brandl
6b4c847c4f
Doc: fix default role usage (except in unittest mock docs)
11 years ago
Georg Brandl
93a56cdc37
Doc: fix default role usage (except in unittest mock docs)
11 years ago
Georg Brandl
525d355984
Fixing broken links in doc, part 3: the rest
11 years ago
Georg Brandl
e73778c1ac
Use https:// URLs when referring to python.org hosts.
11 years ago