UltimateCoder
8856940cf2
bpo-28315: Improve code examples in docs (GH-1372)
Replace
File "<stdin>", line 1, in ?
with
File "<stdin>", line 1, in <module>
9 years ago
Xiang Zhang
b2d77175d1
bpo-29756: Improve documentation for list methods that compare items by equality (GH-572)
9 years ago
Jim Fasarakis-Hilliard
53c1892dc3
Fix small typos in introduction and datastructures of tutorial (GH-272)
* Fix small typos in introduction and datastructures
* Use iterable instead of L in the doc for list.extend
9 years ago
Jim Fasarakis-Hilliard
32e8f9bdfd
bpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140)
As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that
ordering is undefined and change snippet to remove the unecessary sorted call.
* Add sentence mentioning guaranteed output order of kwargs
9 years ago
Mariatta Wijaya
23dcccb75b
Issue #29381 : Clarify ordering of UNIX shebang line as source encoding line
9 years ago
Mariatta Wijaya
77bb0f4900
Backed out changeset 3d712292f2fa
9 years ago
Mariatta Wijaya
e2d8bc52c4
Issue #29381 : Clarify ordering of UNIX shebang line as source encoding line
9 years ago
R David Murray
4ec1590fbf
#29005 : clarify terminology in tutorial 'method' discussion.
Patch by Jim Fasarakis-Hilliard.
9 years ago
Martin Panter
898573a734
Issue #28820 : Fix spelling of “practice” as a noun
9 years ago
Serhiy Storchaka
7bc01c32b1
Fixed mismatching title overline.
9 years ago
Serhiy Storchaka
29b0a26822
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
9 years ago
Raymond Hettinger
8c5e190d36
Issue #28587 : Improve list examples in the tutorial
9 years ago
Raymond Hettinger
5bd5b9d813
Issue 28587: list.index documentation missing start and stop arguments. (Contributed by Mariatta Wijaya.)
9 years ago
Kushal Das
ecbca357c9
Closes #28713 uses OSError in the tutorial
9 years ago
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
11 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