Emily Morehouse
f190eb59e6
bpo-32452: clarify term 'brackets' in generator tutorial ( #5079 )
Updates documentation for generator expressions in classes tutorial: Clarify usage of ambiguous term "brackets" by replacing with "square brackets". Updated subsequent lines to respect line breaks. (#5079 )
8 years ago
Sanyam Khurana
1b4587a246
bpo-25910: Fixes redirection from http to https ( #4674 )
8 years ago
Will White
78a5722ae9
Improve the String tutorial docs (GH-4541)
The paragraph that contains example of string literal concatenation was placed
after the section about concatenation using the '+' sign.
Moved the paragraph to the appropriate section.
8 years ago
Raymond Hettinger
8c26a34f93
bpo-31757: Make Fibonacci examples consistent ( #3991 )
8 years ago
Trey Hunner
3fbd70018f
bpo-30466: Add brief explanation of classes to tutorial (GH-1804)
9 years ago
regexaurus
36fc896740
Clarification to the `break` statement (GH-2453)
Clarify that the break statement breaks out of the innermost enclosing for or while loop.
9 years ago
Andrew Kuchling
bd4e9e0ca9
bpo-6519: Improve Python Input Output Tutorial (GH-2143)
Move up the discussion about 'with' keyword, so it appears earlier in the document.
9 years ago
suketa
1dbce04d0e
bpo-30621: Update Input Output Tutorial Example(GH-2074)
import json before using json module
9 years ago
KatherineMichel
ca81615344
bpo-30312: Small correction in datastructures set code sample (GH-2081)
9 years ago
gfyoung
e405d4b8df
bpo-30361: Use better example for mixed-type operands ( #1701 )
9 years ago
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
10 years ago
Jason R. Coombs
842c07414e
Issue #24729 : Correct reference to open function.
11 years ago