summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-6519: Improve Python Input Output Tutorial (GH-2143) (GH-2146)Mariatta2017-06-131-21/+29
| | | | Move up the discussion about 'with' keyword, so it appears earlier in the document. (cherry picked from commit bd4e9e0ca96dabf33605d9b1fd1e0562ece8ae18)
* bpo-30217: add the operators ~ and | to the index (GH-1502) (GH-2138)Marco Buttu2017-06-121-0/+2
| | | (cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)
* bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2119)Mariatta2017-06-121-0/+1
| | | | import json before using json module (cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16)
* [3.5] Use Travis to make sure all generated files are up to date (GH-2080) ↵Zachary Ware2017-06-111-130/+130
| | | | | | | (GH-2093) (cherry picked from commit 0afbabe245) Also fixes some line endings missed in GH-840 backport.
* bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2066)Mariatta2017-06-101-4/+4
| | | | Mention that fnmatchcase does not call normcase, and fnmatch does. (cherry picked from commit e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3)
* [3.5] bpo-30335: Add deprecation alias entry for assertNotRegexpMatches ↵Mariatta2017-06-101-5/+10
| | | | | | (GH-1536) (GH-2056) Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex. (cherry picked from commit 74921ed8941fce14c2a53dc7280f43eb01fe4ed8)
* bpo-24755: Document asyncio.wrap_future (GH-603) (GH-2020)Mariatta2017-06-091-0/+5
| | | (cherry picked from commit 824f6879121413e09439fffef54580413e44bf46)
* bpo-29596: Improve clinic howto documentation (GH-1710) (GH-1975)gfyoung2017-06-061-3/+3
| | | Clarify that `two-pass` buffer can only be dumped once, and it prints out all text sent to it during all processing, even from Clinic blocks *after* the dumping point.
* bpo-30538: Update count() in Functional Programming HOWTO (GH-1919) (GH-1944)csabella2017-06-051-9/+14
| | | | | * bpo-30538: Update count() in Functional HOWTO * bpo-30538: Update enumerate() arguments in Functional HOWTO (cherry picked from commit 9be4ff359daa67cde6246494f643ed7cd2825d46)
* bpo-30530: Update Descriptor How To Documentation (GH-1845) (GH-1954)Mariatta2017-06-051-1/+1
| | | | | Update the code example in Functions and Methods section Remove objtype argument in MethodType (cherry picked from commit 1bced56567335745f91676192fc39c06aab30da9)
* bpo-29660: traceback: Document that etype is ignored in some places. ↵Matthias Bussonnier2017-06-021-3/+11
| | | | | (GH-344) (GH-1914) (cherry picked from commit cdb89cd)
* bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1906)Mariatta2017-06-011-3/+1
| | | (cherry picked from commit 0737ee20671d60802a7ef40f653fe449f1921de0)
* bpo-22702: Clarify documentation of str.join & bytes.join (GH-156) (GH-1896)Mariatta2017-06-011-9/+9
| | | | | | | | The "iterable iterable" phrasing created confusion between the term reference and the parameter name. This simplifies the phrasing to just use the parameter name without linking directly to the term definition. (cherry picked from commit 08e2f355d04d3cbea5751ce1275306ee3f569b32)
* bpo-27618: Clarify that threading.Lock is a factory function (GH-1307) (GH-1895)csabella2017-06-011-2/+3
| | | (cherry picked from commit 56ddfd2eea4d98456a9a99bf2a718f21ee6b2be2)
* [3.5] Fix a trivial typo in global section (GH-1497) (GH-1881)Mariatta2017-05-311-1/+1
| | | (cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea)
* bpo-30354: Update data model documentation for super() (GH-1561) (GH-1869)csabella2017-05-301-6/+6
| | | | | | | | | | | The data model section of the language reference was written well before the zero-argument form of super() was added. To avoid giving the impression that they're doing something unusual, this updates the description of `__new__` and `__init__` to use the zero-argument form. Patch by Cheryl Sabella. (cherry picked from commit 12b1c180986fc744331b8f30d3d2f49a0fdb43dd)
* [3.5] bpo-30361: Use better example for mixed-type operands (GH-1701) (#1857)Mariatta2017-05-291-4/+2
| | | (cherry picked from commit e405d4b8dfb8b497e1c3d1f0f8e28030040c165e)
* [3.5] bpo-30398: Add a docstring for re.error. (GH-1647) (#1831)Serhiy Storchaka2017-05-271-3/+3
| | | | Also document that some attributes may be None. (cherry picked from commit 12d6b5d)
* [3.5] Fix the signature of JSONDecodeError (no end parameter). (GH-1827) (#1829)Serhiy Storchaka2017-05-271-1/+1
| | | | Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument. (cherry picked from commit 5becf38)
* [3.5] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1792)Zachary Ware2017-05-241-1/+2
| | | | | | | The library does not enforce compliance with the HTTP protocol, so violations are not technically disallowed. Extend the stream's description to avoid suggesting that intentional protocol violations are not supported. (cherry picked from commit a083c8e)
* [3.5] bpo-30376: Update outdated WindowObject references (GH-1630) (#1747)Kushal Das2017-05-231-8/+8
| | | (cherry picked from commit 93fc20b73eea3da0b6305aaee951e5dd22d5c408)
* [3.5] bpo-21056: Document return type of next method of csv reader (GH-146) ↵Mariatta2017-05-231-2/+4
| | | | | (#1750) (cherry picked from commit d618c8c6d31b9b288f8a070417683974eb98e3ba)
* [3.5] Fix typos in multiple `.rst` files (GH-1668) (#1706)delirious-lettuce2017-05-2212-19/+19
|
* [3.5] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) (GH-1615)Serhiy Storchaka2017-05-166-14/+14
|
* bpo-29651 - Cover edge case of square brackets in urllib docs (#1128) (#1597)Senthil Kumaran2017-05-161-0/+6
| | | (cherry picked from commit f6e863d868a621594df2a8abe072b5d4766e7137)
* bpo-30358: Document sort argument of profile.runctx() (GH-1566)Berker Peksag2017-05-141-2/+2
| | | (cherry picked from commit 99776296230ddd8429ebad2d07854b8c27ea10ab)
* [3.5] bpo-30178: Indent methods and attributes of MimeType class (GH-1306) ↵Mariatta2017-05-131-43/+43
| | | | | (#1571) (cherry picked from commit c71168090df435c1eb8c03005b11df764cd7ebd6)
* bpo-23404: make touch becomes make regen-all (#1405) (#1461) (#1465)Victor Stinner2017-05-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-23404: make touch becomes make regen-all (#1405) Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python. (cherry picked from commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b) * bpo-30273: Update sysconfig (#1464) The AST_H_DIR variable was removed from Makefile.pre.in by the commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b (bpo-23404). AST_H_DIR was hardcoded to "Include", so replace the removed variable by its content. Remove also ASDLGEN variable from sysconfig example since this variable was also removed. (cherry picked from commit b109a1d3360fc4bb87b9887264e3634632d392ca) (cherry picked from commit 9d02f562961efd12d3c8317a10916db7f77330cc)
* [3.5] bpo-28315: Improve code examples in docs (GH-1372) (#1446)Mariatta2017-05-0412-30/+30
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module> (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
* [3.5] Fix typo in selectors.rst (GH-1383) (#1415)Mariatta2017-05-031-1/+1
| | | | decriptor -> descriptor (cherry picked from commit b0d82036549074357717d130a772d1e2ebc8ea01)
* [3.5] Improve the grammar in windows.rst (GH-1330) (GH-1359)Mariatta2017-04-301-3/+3
| | | (cherry picked from commit 80a3da4d4aad0b51893e1e2f696b6252eca80e07)
* [3.5] bpo-30208: DOC: fix small typos in IDLE (#1357)csabella2017-04-301-8/+8
| | | (cherry picked from commit d9af73330f46d79cc0c56d369f65ebeec3cb5334)
* [3.5] bpo-30182: Use the correct name for ISO in Unicode HOWTO. (GH-1312) ↵Mariatta2017-04-271-3/+3
| | | | | (GH-1314) (cherry picked from commit 6fde770e4e940c19cd62de0b6aeb77840690843e)
* [3.5] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1304)Dong-hee Na2017-04-261-7/+0
|
* bpo-29974: Improve typing.TYPE_CHECKING example (GH-982)Berker Peksag2017-04-261-2/+7
| | | | | | | | | | * Fix PEP 8 (SomeType instead of some_type) * Add a function parameter annotation * Explain, using wording from PEP 484 and PEP 526, why one annotation is in quotes and another is not. Suggested by Ivan Levkevskyi. (cherry picked from commit 87c07fe9d908d0a2143fcc8369255c6ff3241503)
* bpo-28698: Fix c_wchar_p doc example (GH-1160)Louie Lu2017-04-261-5/+9
| | | (cherry picked from commit 0d637e236d7099f7b724026c8cb7bd83d8e12e6b)
* [3.5] bpo-29751: Improve PyLong_FromString documentation (GH-915) (#1267)Mariatta2017-04-241-7/+6
| | | (cherry picked from commit 26896f2832324dde85cdd63d525571ca669f6f0b)
* [3.5] bpo-15718: Document the upper bound constrain on the __len__ return ↵Serhiy Storchaka2017-04-231-0/+9
| | | | | value. (GH-1256) (#1260) (cherry picked from commit 85157cd)
* [3.5] Fix trailing colon and newline in test.rst (GH-1250) (#1255)Louie Lu2017-04-221-1/+2
| | | (cherry picked from commit 7fae81e1672d0b4110d31ea6a765b54f63a2e54b)
* Remove redundant comma in argparse HOWTO (GH-1141)Berker Peksag2017-04-201-1/+1
| | | | | Reported by Sean Canavan on docs@p.o. (cherry picked from commit 8526fb74edf5ac9ca175b7cdcb0d82bb8780d2cf)
* bpo-19225: Remove duplicated description for standard warning categories ↵cocoatomo2017-04-201-12/+9
| | | | (GH-1068)
* [3.5] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1148)Michael Seifert2017-04-151-0/+11
|
* [3.5] Fix a typo in Doc/library/functions.rst (GH-1117) (GH-1124)Mariatta2017-04-131-1/+1
| | | | Replace `For object's ... ` with `For objects ...` (cherry picked from commit 873ef20d0007b4b120933473e6252d2309a70102)
* bpo-30021: Add examples for re.escape(). (#1048) (#1116)Serhiy Storchaka2017-04-132-3/+16
| | | | | And fix the parameter name. (cherry picked from commit 8fc7bc2b7631ee819ee614e47b6f44bacebe1574)
* bpo-29791: Clarify that flush is keyword-only argument (GH-1093)Berker Peksag2017-04-131-1/+1
| | | | | Reported by Lucio Ricardo Montero Valenzuela. (cherry picked from commit 61b9ac93712df8092a25223cd56fa6528359792b)
* bpo-26985: Add missing info of code object in inspect documentation ↵Xiang Zhang2017-04-131-179/+200
| | | | (GH-1090) (GH-1100)
* [3.5] Correct typo in configparser.rst (GH-1012) (GH-1027)Mariatta2017-04-091-2/+2
| | | (cherry picked from commit 01fa9ae5460b00bf1ced500c797176ebd3fb060d)
* bpo-29506: Clarify deep copy note in copy moduleNick Coghlan2017-04-091-2/+2
| | | | | | | The reference to administrative data was confusing to readers, so this simplifies the note to explain that deep copying may copy more then you intended, such as data that you expected to be shared between copies. (cherry picked from commit 19e04942562a980ad2519f6ff79c455a7472783b)
* Fix a minor typo. (#1032) (#1036)Barry Warsaw2017-04-071-1/+1
| | | (cherry picked from commit dd9a0a14c89d57e43898d4b866b8c161e4ff8506)
* [3.5] bpo-19225: Lack of c api exceptions doc (#965)cocoatomo2017-04-061-56/+145
| | | | | | * Keep the c-api exception doc up-to-date cherry-pick'ed from ec1f5df..e3d6db3 and fix conflict