Skip to content

Commit

Permalink
Python 3.9.0rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Sep 16, 2020
1 parent 48f9925 commit 2bd31b5
Show file tree
Hide file tree
Showing 40 changed files with 409 additions and 95 deletions.
4 changes: 2 additions & 2 deletions Include/patchlevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 9
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
#define PY_RELEASE_SERIAL 1
#define PY_RELEASE_SERIAL 2

/* Version as a string */
#define PY_VERSION "3.9.0rc1+"
#define PY_VERSION "3.9.0rc2"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
76 changes: 46 additions & 30 deletions Lib/pydoc_data/topics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Tue Aug 11 19:08:56 2020
# Autogenerated by Sphinx on Wed Sep 16 23:08:58 2020
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
Expand Down Expand Up @@ -6946,6 +6946,14 @@
'the data\n'
' model.\n'
'\n'
' Note: Due to a bug in the dispatching mechanism for '
'"**=", a\n'
' class that defines "__ipow__()" but returns '
'"NotImplemented"\n'
' would fail to fall back to "x.__pow__(y)" and '
'"y.__rpow__(x)".\n'
' This bug is fixed in Python 3.10.\n'
'\n'
'object.__neg__(self)\n'
'object.__pos__(self)\n'
'object.__abs__(self)\n'
Expand Down Expand Up @@ -9627,6 +9635,14 @@
'the data\n'
' model.\n'
'\n'
' Note: Due to a bug in the dispatching mechanism for '
'"**=", a\n'
' class that defines "__ipow__()" but returns '
'"NotImplemented"\n'
' would fail to fall back to "x.__pow__(y)" and '
'"y.__rpow__(x)".\n'
' This bug is fixed in Python 3.10.\n'
'\n'
'object.__neg__(self)\n'
'object.__pos__(self)\n'
'object.__abs__(self)\n'
Expand Down Expand Up @@ -9915,35 +9931,6 @@
'*start* and\n'
' *end* are interpreted as in slice notation.\n'
'\n'
'str.removeprefix(prefix, /)\n'
'\n'
' If the string starts with the *prefix* string, return\n'
' "string[len(prefix):]". Otherwise, return a copy of the '
'original\n'
' string:\n'
'\n'
" >>> 'TestHook'.removeprefix('Test')\n"
" 'Hook'\n"
" >>> 'BaseTestCase'.removeprefix('Test')\n"
" 'BaseTestCase'\n"
'\n'
' New in version 3.9.\n'
'\n'
'str.removesuffix(suffix, /)\n'
'\n'
' If the string ends with the *suffix* string and that '
'*suffix* is\n'
' not empty, return "string[:-len(suffix)]". Otherwise, '
'return a copy\n'
' of the original string:\n'
'\n'
" >>> 'MiscTests'.removesuffix('Tests')\n"
" 'Misc'\n"
" >>> 'TmpDirMixin'.removesuffix('Tests')\n"
" 'TmpDirMixin'\n"
'\n'
' New in version 3.9.\n'
'\n'
'str.encode(encoding="utf-8", errors="strict")\n'
'\n'
' Return an encoded version of the string as a bytes '
Expand Down Expand Up @@ -10372,6 +10359,35 @@
'followed by\n'
' two empty strings.\n'
'\n'
'str.removeprefix(prefix, /)\n'
'\n'
' If the string starts with the *prefix* string, return\n'
' "string[len(prefix):]". Otherwise, return a copy of the '
'original\n'
' string:\n'
'\n'
" >>> 'TestHook'.removeprefix('Test')\n"
" 'Hook'\n"
" >>> 'BaseTestCase'.removeprefix('Test')\n"
" 'BaseTestCase'\n"
'\n'
' New in version 3.9.\n'
'\n'
'str.removesuffix(suffix, /)\n'
'\n'
' If the string ends with the *suffix* string and that '
'*suffix* is\n'
' not empty, return "string[:-len(suffix)]". Otherwise, '
'return a copy\n'
' of the original string:\n'
'\n'
" >>> 'MiscTests'.removesuffix('Tests')\n"
" 'Misc'\n"
" >>> 'TmpDirMixin'.removesuffix('Tests')\n"
" 'TmpDirMixin'\n"
'\n'
' New in version 3.9.\n'
'\n'
'str.replace(old, new[, count])\n'
'\n'
' Return a copy of the string with all occurrences of '
Expand Down
Loading

0 comments on commit 2bd31b5

Please sign in to comment.