cpython/Doc/library
Ivan Levkivskyi 9932a22897
bpo-33416: Add end positions to Python AST (GH-11605)
The majority of this PR is tediously passing `end_lineno` and `end_col_offset` everywhere. Here are non-trivial points:
* It is not possible to reconstruct end positions in AST "on the fly", some information is lost after an AST node is constructed, so we need two more attributes for every AST node `end_lineno` and `end_col_offset`.
* I add end position information to both CST and AST.  Although it may be technically possible to avoid adding end positions to CST, the code becomes more cumbersome and less efficient.
* Since the end position is not known for non-leaf CST nodes while the next token is added, this requires a bit of extra care (see `_PyNode_FinalizeEndPos`). Unless I made some mistake, the algorithm should be linear.
* For statements, I "trim" the end position of suites to not include the terminal newlines and dedent (this seems to be what people would expect), for example in
  ```python
  class C:
      pass

  pass
  ```
  the end line and end column for the class definition is (2, 8).
* For `end_col_offset` I use the common Python convention for indexing, for example for `pass` the `end_col_offset` is 4 (not 3), so that `[0:4]` gives one the source code that corresponds to the node.
* I added a helper function `ast.get_source_segment()`, to get source text segment corresponding to a given AST node. It is also useful for testing.

An (inevitable) downside of this PR is that AST now takes almost 25% more memory. I think however it is probably justified by the benefits.
2019-01-22 11:18:22 +00:00
..
2to3.rst bpo-21446: Update reload fixer to use importlib (GH-8391) 2018-07-23 09:49:08 +03:00
__future__.rst String annotations [PEP 563] (#4390) 2018-01-26 08:20:18 -08:00
__main__.rst
_dummy_thread.rst Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648) 2017-09-18 22:04:20 +02:00
_thread.rst bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
abc.rst Grammar corrections in abc.rst (GH-10525) 2018-11-13 16:40:44 -08:00
aifc.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
allos.rst
archiving.rst
argparse.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
array.rst Issue #21818: Fixed references to classes that have names matching with module 2016-12-02 23:13:53 +02:00
ast.rst bpo-33416: Add end positions to Python AST (GH-11605) 2019-01-22 11:18:22 +00:00
asynchat.rst Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta. 2016-10-25 08:49:13 -07:00
asyncio-api-index.rst bpo-33649: Add low-level APIs index. (GH-9364) 2018-09-17 15:35:24 -04:00
asyncio-dev.rst Fix a typo in asyncio-dev.rst. (GH-10133) 2018-10-26 10:14:04 -07:00
asyncio-eventloop.rst bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145) 2018-12-18 16:31:29 -05:00
asyncio-exceptions.rst bpo-33649: A copy-editing pass on asyncio documentation (GH-9376) 2018-09-17 19:16:44 -04:00
asyncio-future.rst bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403) 2018-09-18 17:55:44 -04:00
asyncio-llapi-index.rst bpo-34746: Fix stop -> close (GH-9437) 2018-09-20 01:17:09 -04:00
asyncio-platforms.rst bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538) 2018-09-25 11:27:08 -04:00
asyncio-policy.rst Fix typo in documentation of AbstractEventLoopPolicy.set_child_watcher() (GH-11369) 2018-12-30 14:01:28 -08:00
asyncio-protocol.rst bpo-23554: Change echo server example class name from EchoServerClientProtocol to EchoServerProtocol (GH-9859) 2018-10-15 17:39:16 -04:00
asyncio-queue.rst Fixes typo in asyncio.queue doc (GH-11581) 2019-01-17 03:52:17 -08:00
asyncio-stream.rst bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
asyncio-subprocess.rst bpo-34687: Update asyncio doc for ProactorEventLoop (GH-9623) 2018-09-28 08:40:08 -07:00
asyncio-sync.rst bpo-33649: A copy-editing pass on asyncio documentation (GH-9376) 2018-09-17 19:16:44 -04:00
asyncio-task.rst bpo-35579: Fix typo in in asyncio-task documentation (GH-11321) 2018-12-26 06:47:16 -08:00
asyncio.rst bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403) 2018-09-18 17:55:44 -04:00
asyncore.rst bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
atexit.rst bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611) 2017-12-20 11:17:58 +01:00
audioop.rst
base64.rst bpo-27846: Delete incorrect note in base64 docs (GH-5666) 2018-02-14 03:08:54 +03:00
bdb.rst Issue #19795: Mark up None as literal text. 2016-10-19 16:29:26 +03:00
binary.rst
binascii.rst Redo PR 785 -- Add cross reference links (GH-11319) 2018-12-25 17:53:36 -08:00
binhex.rst bpo-29557: Remove ambiguous line in binhex docs (#90) 2017-02-15 01:37:49 +03:00
bisect.rst
builtins.rst
bz2.rst bpo-33487: improve BZ2File Deprecation and documentation. (GH-6785) 2018-09-10 18:15:56 -07:00
calendar.rst Closes bpo-28281: Remove year (1-9999) limits on the weekday() function. (#4109) 2017-10-26 15:34:11 -04:00
cgi.rst bpo-33843: Remove deprecated stuff in cgi module (GH-7662) 2018-06-19 17:28:50 +09:00
cgitb.rst bpo-29920: Document cgitb.text() and cgitb.html() functions (GH-849) 2017-05-05 11:15:12 +03:00
chunk.rst
cmath.rst bpo-29956: Improve the math.exp() related documentation. (#1073) 2017-05-04 12:25:09 +03:00
cmd.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
code.rst Issue #19795: Mark up None as literal text. 2016-10-19 16:37:13 +03:00
codecs.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
codeop.rst
collections.abc.rst bpo-32467: Let collections.abc.ValuesView inherit from Collection (#5152) 2018-01-11 21:53:49 -08:00
collections.rst dict insertion order is guaranteed since 3.7 (GH-10431) 2018-11-11 08:56:47 -08:00
colorsys.rst bpo-25910: Link redirections in docs (#1933) 2018-01-20 01:25:37 +01:00
compileall.rst bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) 2018-10-10 18:43:14 +02:00
concurrency.rst Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648) 2017-09-18 22:04:20 +02:00
concurrent.futures.rst Fix typos in concurrent.Futures documentation (GH-10920) 2018-12-05 13:41:20 -08:00
concurrent.rst
configparser.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
constants.rst bpo-35054: Add more index entries for symbols. (GH-10064) 2018-10-26 09:00:49 +03:00
contextlib.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
contextvars.rst bpo-33985: Implement ContextVar.name attribute. (GH-7980) 2018-06-28 13:20:29 -04:00
copy.rst Include memo in the documented signature of copy.deepcopy() 2018-10-29 12:30:12 -06:00
copyreg.rst bpo-27200: fix configparser, copyreg and ctypes doctests (#240) 2017-03-02 14:02:43 +03:00
crypt.rst Correct a couple of unbalanced parenthesis. (GH-10779) 2018-12-05 21:45:30 +02:00
crypto.rst Issue #29062: Merge hashlib-blake2.rst into hashlib.rst 2017-01-13 19:29:58 +09:00
csv.rst bpo-33798: Update csv document about dict order (GH-7490) 2018-06-08 21:51:12 +09:00
ctypes.rst bpo-4260: Document that ctypes.xFUNCTYPE are decorators (GH-7924) 2018-07-13 15:50:20 +03:00
curses.ascii.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
curses.panel.rst bpo-30872: Update the curses docs to Python 3. (#2620) 2017-10-04 22:44:13 +03:00
curses.rst bpo-31680: Add curses.ncurses_version. (GH-4217) 2018-10-30 13:22:42 +02:00
custominterp.rst
dataclasses.rst bpo-35566: Add links to annotation glossary term (GH-11291) 2018-12-23 21:09:09 -08:00
datatypes.rst
datetime.rst bpo-34512: Document platform-specific strftime() behavior for non-ASCII format strings (GH-8948) 2019-01-12 19:21:54 +02:00
dbm.rst bpo-33106: change dbm key deletion error for readonly file from KeyError to dbm.error (#6295) 2018-12-12 20:46:55 +08:00
debug.rst
decimal.rst bpo-30055: add testcleanup to leave a fresh context (#1094) 2017-04-13 13:30:25 +02:00
development.rst bpo-32101: Add PYTHONDEVMODE environment variable (#4624) 2017-11-30 11:40:24 +01:00
difflib.rst bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144) 2018-10-26 23:03:08 -04:00
dis.rst bpo-34906: Doc: Fix typos (GH-9712) 2018-10-05 16:17:18 +02:00
distribution.rst bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) 2018-05-15 14:58:35 -04:00
distutils.rst
doctest.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
dummy_threading.rst Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648) 2017-09-18 22:04:20 +02:00
email.charset.rst bpo-26441: Remove documentation for deleted to_splittable and from_splittable methods (#9865) 2018-10-18 20:13:23 -04:00
email.compat32-message.rst Correct a couple of unbalanced parenthesis. (GH-10779) 2018-12-05 21:45:30 +02:00
email.contentmanager.rst bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager (#7631) 2018-06-11 10:47:47 -04:00
email.encoders.rst #24277: The new email API is no longer provisional. 2016-09-07 21:15:59 -04:00
email.errors.rst bpo-27397: Make email module properly handle invalid-length base64 strings (#7583) 2018-06-12 15:46:22 +03:00
email.examples.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-31 07:39:00 +03:00
email.generator.rst bpo-31887: Adds documentations for special multipart/signed handling (GH-4268) 2018-11-04 14:12:34 -08:00
email.header.rst #24277: The new email API is no longer provisional. 2016-09-07 21:15:59 -04:00
email.headerregistry.rst Fix typos in multiple `.rst` files (#1668) 2017-05-19 23:37:57 +03:00
email.iterators.rst Issue #27209: Fix doctests in Doc/library/email*.rst 2016-08-10 00:39:41 -05:00
email.message.rst bpo-35404: Clarify how to import _structure in email.message doc (GH-10886) 2019-01-09 15:52:10 -07:00
email.mime.rst Fix typos in multiple `.rst` files (#1668) 2017-05-19 23:37:57 +03:00
email.parser.rst Correct a couple of unbalanced parenthesis. (GH-10779) 2018-12-05 21:45:30 +02:00
email.policy.rst Fix typos in multiple `.rst` files (#1668) 2017-05-19 23:37:57 +03:00
email.rst bpo-35035: Rename email.utils documentation to email.utils.rst (GH-10023) 2018-11-21 13:41:07 +01:00
email.utils.rst bpo-35035: Rename email.utils documentation to email.utils.rst (GH-10023) 2018-11-21 13:41:07 +01:00
ensurepip.rst bpo-32996: The bulk of What's New in Python 3.7 (GH-6978) 2018-05-19 23:15:06 -04:00
enum.rst bpo-29577: Enum: mixin classes don't mix well with already mixed Enums (GH-9328) 2018-09-21 19:03:09 -07:00
errno.rst
exceptions.rst Correct a couple of unbalanced parenthesis. (GH-10779) 2018-12-05 21:45:30 +02:00
faulthandler.rst Improve highlighting of some code blocks. (GH-6401) 2018-04-08 19:18:04 +03:00
fcntl.rst
filecmp.rst
fileformats.rst
fileinput.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
filesys.rst bpo-35471: Remove the macpath module (GH-11129) 2018-12-14 13:37:26 +01:00
fnmatch.rst glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102) 2018-11-07 20:09:11 +02:00
formatter.rst
fractions.rst
frameworks.rst
ftplib.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-31 07:39:00 +03:00
functional.rst
functions.rst bpo-34764: improve docs example of iter() with sentinel value (GH-11222) 2018-12-23 21:07:17 -08:00
functools.rst bpo-35300: Add usage note to the lru_cache() docs (GH-10707) 2018-11-25 16:24:52 -08:00
gc.rst bpo-34605: Avoid master/slave terms (GH-9101) 2018-09-07 17:30:33 +02:00
getopt.rst
getpass.rst bpo-32651 Recommend getpass.getuser() (#5301) 2018-01-24 12:51:29 -05:00
gettext.rst bpo-2504: Add pgettext() and variants to gettext. (GH-7253) 2018-11-07 16:12:20 +02:00
glob.rst Explain that the orderness of the result of glob is system-dependant (GH-6587) 2018-11-04 15:50:55 +01:00
grp.rst
gzip.rst bpo-34898: Add mtime parameter to gzip.compress(). (GH-9704) 2018-11-07 11:50:23 +02:00
hashlib-blake2-tree.png bpo-30660: Doc: Optimize PNG files by optipng (GH-8032) 2018-07-01 16:02:52 +09:00
hashlib.rst bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
heapq.rst fix dangling keyfunc examples in documentation of heapq and sorted (#1432) 2018-10-15 13:06:53 -06:00
hmac.rst bpo-33604: Remove deprecated HMAC default value marked for removal in 3.8 (GH-7063) 2018-09-10 11:10:01 -07:00
html.entities.rst
html.parser.rst Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting. 2016-07-26 11:18:21 +02:00
html.rst bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9662) 2018-10-01 17:34:46 -07:00
http.client.rst bpo-21257: document http.client.parse_headers (GH-11443) 2019-01-18 08:49:16 -07:00
http.cookiejar.rst bpo-34911: Added support for secure websocket cookies (GH-9734) 2018-10-08 21:49:29 +03:00
http.cookies.rst bpo-29613: Added support for SameSite cookies (GH-6413) 2018-04-07 16:09:42 -04:00
http.rst bpo-30553: Add status code 421 to http.HTTPStatus (GH-2589) 2017-10-26 21:49:19 +03:00
http.server.rst Adds IPv6 support when invoking http.server directly. (GH-10595) 2018-11-26 10:43:38 -08:00
i18n.rst
idle.rst bpo-28097: IDLE - Add Previous/Next History to Shell menu (#11325) 2018-12-28 15:11:30 -05:00
imaplib.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
imghdr.rst Issue #28228: imghdr now supports pathlib 2016-10-01 05:01:54 +03:00
imp.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
importlib.rst bpo-35486: Note Py3.6 import system API requirement change (GH-11540) 2019-01-17 02:41:29 -08:00
index.rst bpo-34717: Stop numbering stdlib titles/sections in the docs (GH-9370) 2018-09-17 18:12:21 -04:00
inspect.rst bpo-34890: Make iscoroutinefunction, isgeneratorfunction and isasyncgenfunction work with functools.partial (GH-9903) 2018-10-26 12:19:14 +01:00
internet.rst
intro.rst bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
io.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
ipaddress.rst bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016) 2018-03-21 08:25:13 +08:00
ipc.rst bpo-33649: Fix asyncio-dev (GH-9324) 2018-09-14 16:57:11 -07:00
itertools.rst bpo-34659: Adds initial kwarg to itertools.accumulate() (GH-9345) 2018-09-23 17:34:59 -07:00
json.rst bpo-31553: add --json-lines option to json.tool (#10051) 2018-11-07 12:09:32 +02:00
keyword.rst
language.rst
linecache.rst bpo-32797: improve documentation of linecache.getline (GH-9540) 2018-10-24 14:44:41 +02:00
locale.rst bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) 2018-11-20 16:20:16 +01:00
logging.config.rst bpo-34844: logging.Formatter enhancement - Ensure style and format string matches in logging.Formatter (GH-9703) 2018-10-15 19:41:36 +01:00
logging.handlers.rst bpo-34334: Don't log traceback twice in QueueHandler (GH-9537) 2018-09-26 00:00:08 +01:00
logging.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
lzma.rst Tweak PEP 519 documentation in stdlib (#163) 2017-02-19 03:17:35 +03:00
mailbox.rst bpo-25910: Link redirections in docs (#1933) 2018-01-20 01:25:37 +01:00
mailcap.rst
markup.rst
marshal.rst bpo-29746: Update marshal docs to Python 3. (#547) 2017-03-12 08:53:22 +02:00
math.rst bpo-33089: Add math.dist() for computing the Euclidean distance between two points (GH-8561) 2018-07-31 00:45:49 -07:00
mimetypes.rst bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
misc.rst
mm.rst
mmap.rst bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs (#5621) 2018-10-20 02:37:55 +02:00
modulefinder.rst
modules.rst
msilib.rst Remove outdated .pyo reference from msilib docs (GH-4461) 2017-11-19 13:04:25 +03:00
msvcrt.rst Fixed double hyphens that are rendered to literal en-dashes in the documenation. 2016-12-04 10:20:55 +02:00
multiprocessing.rst bpo-32146: Add documentation about frozen executables on Unix (GH-5850) 2019-01-10 18:51:28 +01:00
netdata.rst
netrc.rst bpo-28334: netrc() now uses expanduser() to find .netrc file (GH-4537) 2017-11-25 13:37:22 +03:00
nis.rst
nntplib.rst bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310) 2019-01-02 23:05:19 +02:00
numbers.rst
numeric.rst
operator.rst itemgetter add dict example (GH-1280) 2018-04-12 21:33:08 -04:00
optparse.rst Remove duplicate "Reference Guide" in optparse.rst. (GH-10372) 2018-11-07 07:47:11 +02:00
os.path.rst bpo-29707: Document that os.path.ismount() is not able to reliable detect bind mounts. (GH-11238) 2019-01-15 10:55:40 +02:00
os.rst bpo-35674: Add os.posix_spawnp() (GH-11554) 2019-01-16 14:29:26 +01:00
ossaudiodev.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
othergui.rst bpo-25910: Fixes redirection from http to https (#4674) 2017-12-06 17:39:33 +01:00
parser.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
pathlib-inheritance.png bpo-30660: Doc: Optimize PNG files by optipng (GH-8032) 2018-07-01 16:02:52 +09:00
pathlib-inheritance.svg
pathlib.rst bpo-34825: Add more entries to os to pathlib reference table (GH-9608) 2018-10-05 08:24:11 -07:00
pdb.rst Doc: Remove superfluous markup. (GH-8112) 2018-07-06 11:15:13 +02:00
persistence.rst
pickle.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
pickletools.rst Fix indentation 2016-11-21 13:36:36 +00:00
pipes.rst
pkgutil.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
platform.rst bpo-35344: platform.platform() uses mac_ver() on macOS (GH-10780) 2018-12-05 22:41:52 +01:00
plistlib.rst bpo-33801: Remove non-ordered dict comment from plistlib doc (GH-7495) 2018-06-08 17:51:20 -04:00
poplib.rst Issue #28022: Deprecate ssl-related arguments in favor of SSLContext. 2016-09-10 23:23:33 +02:00
posix.rst
pprint.rst bpo-9842: Add references for using "..." as a placeholder to the index. (GH-10330) 2018-11-20 19:26:09 +02:00
profile.rst bpo-35511: Trivial docs updates for profile and resource library modules. (GH-11124) 2018-12-16 21:34:08 +02:00
pty.rst
pwd.rst
py_compile.rst bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) 2018-10-10 18:43:14 +02:00
pyclbr.rst Fix "Python" casing in a few places (GH-9001) 2018-09-14 10:13:09 -07:00
pydoc.rst bpo-31128: Allow pydoc to bind to arbitrary hostnames (#3011) 2017-09-14 17:54:09 -04:00
pyexpat.rst bpo-30380: Fix Sphinx 1.6.1 warnings. (#1613) 2017-05-16 23:18:09 +03:00
python.rst bpo-32216: Add documentation for dataclasses (GH-6886) 2018-05-16 04:20:43 -04:00
queue.rst bpo-35118: Improve docs regarding indexing (GH-10265) 2018-11-04 14:34:22 -08:00
quopri.rst bpo-32701: Clarify the quotetabs flag in quopri documentation (GH-5401) 2018-01-29 19:36:06 -08:00
random.rst Neaten-up and extend the examples in the random module docs. 2016-12-04 11:00:34 -08:00
re.rst Add information about DeprecationWarning for invalid escaped characters in the re module (GH-5255) 2019-01-20 18:57:56 +00:00
readline.rst bpo-13631: Fix the order of initialization for readline libedit on macOS. (GH-6915) 2018-05-17 02:45:10 -04:00
reprlib.rst bpo-9842: Add references for using "..." as a placeholder to the index. (GH-10330) 2018-11-20 19:26:09 +02:00
resource.rst bpo-35511: Trivial docs updates for profile and resource library modules. (GH-11124) 2018-12-16 21:34:08 +02:00
rlcompleter.rst
runpy.rst
sched.rst versionadded -> versionchanged for all 'X parameter was added' for uniformity. (GH8114) 2018-07-05 17:01:16 -07:00
secrets.rst import secrets module in secrets recipes (#6705) 2018-05-20 01:01:49 +10:00
select.rst bpo-35497: add versionadded tag for EPOLLEXCLUSIVE (GH-11162) 2018-12-19 19:59:52 +08:00
selectors.rst Fix typo in selectors.rst (#1383) 2017-05-02 06:27:57 -07:00
shelve.rst Issue #19795: Mark up True and False as literal text instead of bold. 2016-10-19 16:43:42 +03:00
shlex.rst bpo-27200: Fix several doctests (GH-604) 2017-04-27 15:23:34 +03:00
shutil.rst bpo-20849: add dirs_exist_ok arg to shutil.copytree (patch by Josh Bronson) 2018-12-28 19:03:40 +01:00
signal.rst bpo-35568: add 'raise_signal' function (GH-11335) 2019-01-08 01:58:25 -08:00
site.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
smtpd.rst bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) 2017-02-24 20:05:59 +01:00
smtplib.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
sndhdr.rst
socket.rst bpo-11233: Create availability directive for documentation (GH-9692) 2018-10-12 16:55:20 +02:00
socketserver.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
spwd.rst
sqlite3.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
ssl.rst bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037) 2018-10-26 12:52:11 +02:00
stat.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
statistics.rst bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587) 2018-06-25 14:04:01 +03:00
stdtypes.rst Fix minor grammatical mistakes in reversed(dict) doc (GH-10997) 2018-12-23 23:05:23 -08:00
string.rst Correct grammar mistakes in string.rst. (GH-9752) 2018-11-07 19:24:56 +02:00
stringprep.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-31 07:39:00 +03:00
struct.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
subprocess.rst bpo-31450: Remove documentation mentioning that subprocess's child_traceback is available with the parent process (GH-11422) 2019-01-03 11:53:56 -08:00
sunau.rst bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) 2017-11-10 11:38:25 -05:00
superseded.rst
symbol.rst
symtable.rst bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module (GH-9872) 2018-10-20 01:46:00 +01:00
sys.rst Fixed missing colun in library/sys.po (GH-11153) 2018-12-14 03:28:44 -08:00
sysconfig.rst Correct a couple of unbalanced parenthesis. (GH-10779) 2018-12-05 21:45:30 +02:00
syslog.rst Fix "Python" casing in a few places (GH-9001) 2018-09-14 10:13:09 -07:00
tabnanny.rst fix function name in tabnanny documentation (GH-759) 2017-03-22 14:53:57 +08:00
tarfile.rst bpo-30693: zip+tarfile: sort directory listing (#2263) 2018-01-31 11:17:10 +01:00
telnetlib.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
tempfile.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
termios.rst bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) 2018-10-31 02:26:06 +02:00
test.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
text.rst
textwrap.rst bpo-9842: Add references for using "..." as a placeholder to the index. (GH-10330) 2018-11-20 19:26:09 +02:00
threading.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
time.rst bpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517) 2019-01-11 14:19:57 +01:00
timeit.rst bpo-35738: Update the example for timer.Timer.repeat(). (GH-11559) 2019-01-15 12:29:21 +02:00
tk.rst
tkinter.rst bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160) 2018-10-30 16:56:07 +02:00
tkinter.scrolledtext.rst
tkinter.tix.rst bpo-23156: Remove obsolete tix install directions (GH-11595) 2019-01-17 19:00:51 -05:00
tkinter.ttk.rst bpo-32585: Add tkinter.ttk.Spinbox. (#5221) 2018-02-09 02:03:55 +02:00
token-list.inc bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) 2018-12-22 11:18:40 +02:00
token.rst bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) 2018-12-22 11:18:40 +02:00
tokenize.rst bpo-12486: Document tokenize.generate_tokens() as public API (#6957) 2018-06-05 10:26:39 -07:00
trace.rst bpo-29455: Mention coverage.py in trace module documentation (#261) 2017-03-03 12:42:04 -08:00
traceback.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
tracemalloc.rst bpo-32121: Add most_recent_first parameter to tracemalloc.Traceback.format (#4534) 2017-11-30 00:05:07 +01:00
tty.rst
tulip_coro.dia
tulip_coro.png bpo-30660: Doc: Optimize PNG files by optipng (GH-8032) 2018-07-01 16:02:52 +09:00
turtle-star.pdf
turtle-star.png bpo-30660: Doc: Optimize PNG files by optipng (GH-8032) 2018-07-01 16:02:52 +09:00
turtle-star.ps
turtle.rst bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565) 2018-11-16 15:28:51 +02:00
types.rst Minor grammar improvement in types.rst (GH-11308) 2018-12-24 15:56:05 -08:00
typing.rst bpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396) 2019-01-04 14:14:32 +00:00
undoc.rst Issue #27355: Removed support for Windows CE. It was never finished, 2016-09-05 15:11:23 -07:00
unicodedata.rst closes bpo-32285: Add unicodedata.is_normalized. (GH-4806) 2018-11-04 15:58:24 -08:00
unittest.mock-examples.rst bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555) 2018-12-03 21:31:37 +00:00
unittest.mock.rst Add example to the documentation for calling unittest.mock.patch with create=True (GH-11056) 2019-01-09 21:43:24 +00:00
unittest.rst Clarify expectedFailure in the unittest docs. (#10953) 2018-12-06 12:56:24 -08:00
unix.rst
urllib.error.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-31 07:39:00 +03:00
urllib.parse.rst bpo-35116, urllib.parse: Document the new max_num_fields parameter (GH-10247) 2018-10-30 21:30:19 +01:00
urllib.request.rst bpo-35054: Add more index entries for symbols. (GH-10064) 2018-10-26 09:00:49 +03:00
urllib.robotparser.rst bpo-21475: Support the Sitemap extension in robotparser (GH-6883) 2018-05-16 10:52:07 -04:00
urllib.rst
uu.rst bpo-30103: Allow Uuencode in Python using backtick as zero instead of space (#1326) 2017-05-03 11:16:21 +08:00
uuid.rst bpo-33640, uuid.UUID doc: document endian of bytes parameter (GH-7263) 2018-06-04 09:29:00 +02:00
venv.rst bpo-34977: Use venv redirector instead of original python.exe on Windows (GH-11029) 2018-12-10 08:11:21 -08:00
warnings.rst bpo-31975 (PEP 565): Show DeprecationWarning in __main__ (GH-4458) 2018-01-08 12:45:02 +10:00
wave.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
weakref.rst bpo-27200: Fix pathlib, ssl, turtle and weakref doctests (GH-616) 2017-04-13 17:17:59 +03:00
webbrowser.rst bpo-24241: Add versionchanged directive to the documentation (#342) 2017-02-27 19:13:41 +03:00
windows.rst
winreg.rst bpo-35054: Add yet more index entries for symbols. (GH-10121) 2018-10-28 13:41:26 +02:00
winsound.rst Issue #25387: Check return value of winsound.MessageBeep 2016-09-05 17:32:28 -05:00
wsgiref.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
xdrlib.rst
xml.dom.minidom.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
xml.dom.pulldom.rst Fix Python version since which external enities are not resolved by default. (GH-11237) 2018-12-19 15:29:04 +02:00
xml.dom.rst bpo-25910: Link redirections in docs (#1933) 2018-01-20 01:25:37 +01:00
xml.etree.elementtree.rst bpo-34160: Preserve user specified order of Element attributes (GH-10163) 2018-10-28 11:18:22 -07:00
xml.rst Fix Python version since which external enities are not resolved by default. (GH-11237) 2018-12-19 15:29:04 +02:00
xml.sax.handler.rst
xml.sax.reader.rst Issue #19795: Mark up None as literal text. 2016-10-19 16:29:26 +03:00
xml.sax.rst Fix Python version since which external enities are not resolved by default. (GH-11237) 2018-12-19 15:29:04 +02:00
xml.sax.utils.rst Issue #19795: Mark up True and False as literal text instead of bold. 2016-10-19 16:43:42 +03:00
xmlrpc.client.rst bpo-33859: Fix spelling mistakes in docs. (GH-7691) 2018-06-16 08:08:31 +03:00
xmlrpc.rst
xmlrpc.server.rst bpo-7769: enable xmlrpc.server.SimpleXMLRPCDispatcher.register_function used as decorator (GH-231) 2017-02-28 17:12:52 +08:00
zipapp.rst bpo-34906: Doc: Fix typos (GH-9712) 2018-10-05 16:17:18 +02:00
zipfile.rst bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 2018-12-19 08:09:46 +02:00
zipimport.rst bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
zlib.rst bpo-25007: Add copy protocol support to zlib compressors and decompressors (GH-7940) 2018-06-27 21:04:51 +03:00