Adorilson Bezerra
89294e30ff
Doc: errors tutorial improvements (GH-16269)
...
Improvements:
- Improvements in how try clause works section
This suggestion is because the execution continues after *except*, not after *try* but before *except*. I guess this form more clear.
- Surrounding some keywords with \*...\*
For uniformity the highlighted terms
- Adjust the number of chars per line to 80
2021-01-30 22:07:11 -08:00
Vladimir
3f9fe23c05
bpo-42179: Clarify exception chaining (GH-23160)
...
* Update errors.rst
Clarify exception chaining behaviour and give a reference to the library documentation.
* Update errors.rst
Wording
* Update errors.rst
Spelling
* Update errors.rst
Remove mentioning of special attributes as folks think it's too much for beginners.
2020-12-15 18:47:26 -08:00
Zackery Spytz
d41ec65ab7
bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)
2020-11-28 16:53:39 +02:00
Volker-Weissmann
c8aaf71dde
bpo-17852: Doc: Fix the tutorial about closing files (GH-23135)
...
Co-authored-by: Inada Naoki <songofacandy@gmail.com >
2020-11-27 09:41:32 +09:00
Inada Naoki
bde33e428d
bpo-42179: Doc/tutorial: Remove mention of __cause__ (GH-23162)
2020-11-06 11:45:01 +09:00
Andre Delfino
c8bb24166e
[doc] Update references to NumPy (GH-22458)
...
Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time.
2020-10-01 16:22:14 -07:00
Andre Delfino
e8a2076e14
Revert "Fix all Python Cookbook links ( #22205 )" (GH-22424)
...
This commit reverts commit ac0333e1e1 as the original links are working again and they provide extended features such as comments and alternative versions.
2020-09-27 01:47:25 +01:00
Andre Delfino
ac0333e1e1
Fix all Python Cookbook links ( #22205 )
2020-09-15 21:13:26 +01:00
Neeraj Samtani
7bcc6456ad
bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234)
...
Revise example of "continue" in the tutorial documentation
2020-09-15 09:39:29 -04:00
Denis Ovsienko
0be7c216e1
Fix grammar in Doc/tutorial/controlflow.rst (GH-21885)
...
Automerge-Triggered-By: @csabella
2020-08-19 04:29:47 -07:00
Victor Stinner
bb0b08540c
bpo-40204: Fix reference to terms in the doc (GH-21865)
...
Sphinx 3 requires to refer to terms with the exact case.
For example, fix the Sphinx 3 warning:
Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case
sensitive match.made a reference to loader instead.
2020-08-14 12:20:05 +02:00
Paul McMillan
4f28f75dee
Fix repeated words in Classes tutorial (GH-21455)
...
The phrase "At any time during execution," was repeated twice.
Automerge-Triggered-By: @Mariatta
2020-07-13 18:26:23 -07:00
Joannah Nanjekye
d12af71047
bpo-28681: Clarify multiple function names in the tutorial (GH-21340)
...
* improve control flow docs
* Add also
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu >
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu >
2020-07-05 22:47:15 -03:00
Joannah Nanjekye
9ed3cd8ba0
bpo-26205: Specify the number of nested scopes (GH-21324)
...
* Clarify number of scopes
* Indicate 3 or 4
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu >
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu >
2020-07-05 22:42:24 -03:00
Adorilson Bezerra
eaca2aa117
Improve IO tutorial's "Old string formatting" section (GH-16251)
...
* Use a more universal explanation of string interpolation rather than specifically referencing sprintf(), which depends on the reader having a C background.
Co-authored-by: Kyle Stanley <aeros167@gmail.com >
2020-05-27 21:34:01 -04:00
Antoine
6fad3e6b49
bpo-40552 Add 'users' variable in code sample (tutorial 4.2). (GH-19992)
...
* Add 'users' variable in code sample.
* 📜 🤖 Added by blurb_it.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2020-05-22 21:29:34 -03:00
Pablo Galindo
d4fe098d1e
Python 3.10.0a0 (GH-20198)
2020-05-19 03:33:01 +01:00
Rahul Kumaresan
eefd4e0333
bpo-39705 : sorted() tutorial example under looping techniques improved (GH-18999)
2020-05-17 18:32:34 -07:00
Noah Doersing
8bcfd31cc0
Change 'exception happened' to 'exception occurred' in two places ( #19767 )
2020-04-30 21:30:10 -07:00
Antoine
e5e56328af
bpo-39869: Fix typo in 'Instance objects' section. (GH-18889)
2020-03-10 07:17:40 -07:00
Don Kirkby
3ed4d25158
Grammar fix in tutorial (GH-18425)
2020-02-09 19:57:46 -05:00
Julien Palard
446463f8db
bpo-39534: Doc: Clarify return in finally (GH-18324)
2020-02-06 23:16:48 +01:00
Adorilson Bezerra
5807efd4c3
bpo-38558: Link to further docs from walrus operator mention in tutorial (GH-16973)
2020-02-03 18:11:19 +01:00
Shanavas M
7142df5ea2
bpo-39431: Also mention nonlocal in assignment quirk (GH-17375)
2020-01-23 13:09:21 -05:00
Raymond Hettinger
04c79d6088
bpo-38678: Improve argparse example in tutorial (GH-17207)
2019-11-17 22:06:19 -08:00