Petr Viktorin
29987f7265
bpo-40939: Remove documentation for `PyParser_*` & add porting notes (GH-26855)
...
I tried to be relatively thorough and give lots of links.
One reason is that this wasn't deprecated very long; also it seems people running into this tend to not be familiar with similar APIs.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-06-24 14:57:28 +02:00
Terry Jan Reedy
51f45d085d
bpo-13814: Explain why generators are not context managers (GH-26835)
...
Put entry in Design FAQ after a question about a context manager for assignment.
Original patch by Aidan Lowe.
2021-06-21 17:23:29 -04:00
Raymond Hettinger
e5c7ee1156
Remove dubious suggestion (GH-26789)
...
Remove the weakref example. If a new instance is created and the same arguments are passes, it raises a ReferenceError.
2021-06-18 19:19:32 -05:00
Raymond Hettinger
7f01f77f8f
bpo-44310: Add a FAQ entry for caching method calls (GH-26731)
2021-06-17 15:39:42 -05:00
Mark
ee3d78ef73
Point to recent link to PyFLTK (GH-26315)
2021-05-25 17:37:28 -03:00
Erlend Egeberg Aasland
2a1e6698b1
bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309)
...
Co-authored-by: denfromufa <denfromufa@users.noreply.github.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-05-22 23:03:09 +01:00
E-Paine
e9f66aedf4
Remove effbot urls (GH-26308)
2021-05-22 14:09:54 +02:00
Andre Delfino
08a4803863
[doc] Do some polishing in IDEs section (GH-22070)
2021-04-28 18:06:53 -07:00
Andre Delfino
d28b346953
Fix broken links and improve stand-alone tools list in FAQ GH-22124
2021-04-25 18:10:05 -07:00
Julien Palard
fd79af7ae2
Doc: Try to enhance wording on circular imports. (GH-24705)
2021-04-13 18:03:22 +02:00
Jelle Zijlstra
9825bdfbd5
bpo-43723: Deprecate camelCase aliases from threading (GH-25174)
...
The snake_case names have existed since Python 2.6, so there is
no reason to keep the old camelCase names around. One similar
method, threading.Thread.isAlive, was already removed in
Python 3.9 (bpo-37804).
2021-04-12 10:42:53 +02:00
Raymond Hettinger
7bc25ec727
bpo-20503: Show how isinstance() works with ABC registered classes. (GH-25175)
2021-04-05 12:48:24 -07:00
Raymond Hettinger
f8775e4f72
bpo-43325: Add FAQ entry for identity tests (GH-25168)
2021-04-03 19:54:49 -07:00
Kazantcev Andrey
93d33b47af
Fix typo in the word "spaghetti" (GH-24866)
...
Automerge-Triggered-By: GH:Mariatta
2021-03-15 10:23:03 -07:00
Terry Jan Reedy
5e29021a5e
bpo-43199: Briefly explain why no goto (GH-24852)
...
Answer "Why is there no goto?" in the Design and History FAQ.
2021-03-14 18:12:04 -04:00
Daniel F Moisset
a22bca6b1e
bpo-42128: Add documentation for pattern matching (PEP 634) ( #24664 )
...
This is a first edition, ready to go out with the implementation. We'll iterate during the rest of the period leading up to 3.10.0.
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Fidget-Spinner <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Brandt Bucher <brandt@python.org>
Co-authored-by: Raymond Hettinger <1623689+rhettinger@users.noreply.github.com>
Co-authored-by: Guido van Rossum <guido@python.org>
2021-02-28 20:08:38 -08:00
Andre Delfino
fb2e94692e
Doc: Do not suggest `s[::-1]` for reversed order (GH-22457)
2020-10-21 17:25:07 +09:00
Andre Delfino
4642ccd1c3
Doc: Do not encourage using a base class name in a derived class (GH-22177)
2020-10-21 14:25:05 +09:00
Michel Samia
33242a9328
bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463)
2020-10-19 23:02:43 +01:00
abdo
5d9e657517
Link to the msvcrt module from the Windows FAQ ( #22268 )
2020-10-19 22:46:21 +01:00
Zackery Spytz
a22a19f354
bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst (GH-22726)
2020-10-16 11:44:17 -07:00
Terry Jan Reedy
060937da98
bpo-41774: Tweak new programming FAQ entry (GH-22562)
...
Remove mention of space in "remove multiple items from list".
2020-10-05 10:31:44 -04: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
Terry Jan Reedy
5b0181d1f6
bpo-41774: Add programming FAQ entry (GH-22402)
...
In the "Sequences (Tuples/Lists)" section, add
"How do you remove multiple items from a list".
2020-09-29 01:02:44 -04: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
778ad926cb
[doc] Teach 0-args form of super in Programming FAQ (GH-22176)
2020-09-20 10:09:50 -07:00
Andre Delfino
ac0333e1e1
Fix all Python Cookbook links ( #22205 )
2020-09-15 21:13:26 +01:00
Andre Delfino
1d25f5bf7b
Remove reference to Boa Constructor. (GH-22012)
2020-09-01 22:22:55 -05:00
Andre Delfino
dea82b6731
[doc] Remove references to PyChecker. (GH-22011)
2020-09-01 22:21:12 -05:00
wyz23x2
7173fc84e6
bpo-41573: Update release versions in General FAQ (GH-21915)
2020-08-21 18:28:54 -04:00
Jiajie Zhong
67acf74c4e
Doc: Add output to example code in programming FAQ (GH-21346)
...
Add output hint to document, part faq/programming, section [How do I write a function with output parameters (call by reference)?](https://docs.python.org/3/faq/programming.html#how-do-i-write-a-function-with-output-parameters-call-by-reference ).
This patch make the output hint just like prefix code block.
2020-08-08 12:29:03 -07:00
E-Paine
3fa4799c3f
Update FAQ release schedule and estimated users (GH-21180)
...
Update FAQ to include:
* The new yearly release schedule from PEP 602
* Estimated users from "tens of thousands" to "millions"
2020-06-30 05:42:43 -04:00
Brett Cannon
3ab3475c42
bpo-24914: mention Python supports multiple paradigms in the FAQ ( #20658 )
2020-06-08 11:07:29 -07:00
Alex Povel
fd33cdbd05
Fix plural typo in documentation (GH-19799)
...
Co-authored-by: Alex Povel <python@alexpovel.de>
2020-04-29 19:17:12 -03:00
Zackery Spytz
caf1aadf3d
bpo-40348: Fix typos in the programming FAQ (GH-19729)
2020-04-26 20:23:52 -07:00
Cajetan Rodrigues
5aafa54879
bpo-40340: Separate examples more clearly in the programming FAQ (GH-19688)
2020-04-24 19:39:04 -04: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
Gurupad Hegde
6c7bb38ff2
bpo-39136: Fixed typos (GH-17720)
...
funtion -> function; configuraton -> configuration; defintitions -> definitions;
focusses -> focuses; necesarily -> necessarily; follwing -> following;
Excape -> Escape,
2019-12-28 17:16:02 -05:00
Serhiy Storchaka
25fc088607
bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950)
...
Replace all *NULL* with ``NULL``.
2019-10-30 12:03:20 +02:00
Ammar Askar
87d6cd3604
bpo-38237: Make pow's arguments have more descriptive names and be keyword passable (GH-16302)
...
Edit: `math.pow` changes removed on Mark's request.
https://bugs.python.org/issue38237
Automerge-Triggered-By: @rhettinger
2019-09-20 21:28:49 -07:00
Emily Morehouse
6357c95716
bpo-35224: Additional documentation for Assignment Expressions (GH-15935)
...
Add or update assignment expression documentation for:
- FAQ - Design
- Reference - Expressions
- Reference - Lexical Analysis
https://bugs.python.org/issue35224
Automerge-Triggered-By: @matrixise
2019-09-11 07:37:12 -07:00
Antoine
88b24f96ae
Minor changes in Doc/faq/library. ( #15449 )
...
* Minor changes.
* Update Doc/faq/library.rst
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* Apply suggestions from aeros167.
* Update Doc/faq/library.rst
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* Apply suggestions from aeros167 + re-add a "a" that was accidentally deleted.
2019-09-09 17:00:43 +02:00
avinassh
3aa48b88c7
bpo-36167: fix an incorrect capitalization (GH-14482)
2019-08-29 01:40:50 -04:00
Ilya Kamenshchikov
a0f7119f15
bpo-37352: Minor word-smithing for design.rst (GH #14730 )
2019-07-16 08:13:38 -07:00
Terry Jan Reedy
6f2a8c0857
bpo-37456: Slash ('/') is now part of syntax. (GH-14627)
2019-07-06 18:13:02 -04:00
Aeros
d0068000b2
Docs: Improved phrasing (GH-14069)
...
* Docs: Improved phrasing
Removed usage of second person pronouns in the section and made the assumption of "uneasiness" in code style transition more neutral.
* Removed trailing whitespace on line 34
2019-06-20 21:43:07 -07:00
Serhiy Storchaka
70c5f2ae6e
Use more PEP 570 syntax in the documentation. (GH-13720)
2019-06-01 11:38:24 +03:00
Julien Palard
7114c6504a
Docs: FIX broken links. (GH-13491)
2019-05-25 20:02:24 +02:00
Stéphane Wirtel
cbb6484573
Doc: Replace the deprecated highlightlang directive by highlight. ( #13377 )
...
highlightlang is deprecated since April 2018 in Sphinx.
See https://github.com/sphinx-doc/sphinx/pull/4845
2019-05-17 15:25:34 +05:30
Xtreak
9b5a0efcdc
Fix typos in documentation ( #13344 )
2019-05-16 00:34:24 -04:00