Skip to content

Commit bb3e0c2

Browse files
committed
Python 3.11.0a0
1 parent d3b9134 commit bb3e0c2

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

Doc/tutorial/interpreter.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ Using the Python Interpreter
1010
Invoking the Interpreter
1111
========================
1212

13-
The Python interpreter is usually installed as :file:`/usr/local/bin/python3.10`
13+
The Python interpreter is usually installed as :file:`/usr/local/bin/python3.11`
1414
on those machines where it is available; putting :file:`/usr/local/bin` in your
1515
Unix shell's search path makes it possible to start it by typing the command:
1616

1717
.. code-block:: text
1818
19-
python3.10
19+
python3.11
2020
2121
to the shell. [#]_ Since the choice of the directory where the interpreter lives
2222
is an installation option, other places are possible; check with your local
2323
Python guru or system administrator. (E.g., :file:`/usr/local/python` is a
2424
popular alternative location.)
2525

2626
On Windows machines where you have installed Python from the :ref:`Microsoft Store
27-
<windows-store>`, the :file:`python3.10` command will be available. If you have
27+
<windows-store>`, the :file:`python3.11` command will be available. If you have
2828
the :ref:`py.exe launcher <launcher>` installed, you can use the :file:`py`
2929
command. See :ref:`setting-envvars` for other ways to launch Python.
3030

@@ -97,9 +97,9 @@ before printing the first prompt:
9797

9898
.. code-block:: shell-session
9999
100-
$ python3.10
101-
Python 3.10 (default, June 4 2019, 09:25:04)
102-
[GCC 4.8.2] on linux
100+
$ python3.11
101+
Python 3.11 (default, April 4 2021, 09:25:04)
102+
[GCC 10.2.0] on linux
103103
Type "help", "copyright", "credits" or "license" for more information.
104104
>>>
105105

Doc/tutorial/stdlib.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ operating system::
1515

1616
>>> import os
1717
>>> os.getcwd() # Return the current working directory
18-
'C:\\Python310'
18+
'C:\\Python311'
1919
>>> os.chdir('/server/accesslogs') # Change current working directory
2020
>>> os.system('mkdir today') # Run the command mkdir in the system shell
2121
0

Doc/tutorial/stdlib2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ applications include caching objects that are expensive to create::
278278
Traceback (most recent call last):
279279
File "<stdin>", line 1, in <module>
280280
d['primary'] # entry was automatically removed
281-
File "C:/python310/lib/weakref.py", line 46, in __getitem__
281+
File "C:/python311/lib/weakref.py", line 46, in __getitem__
282282
o = self.data[key]()
283283
KeyError: 'primary'
284284

Include/patchlevel.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
/* Version parsed out into numeric values */
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
20-
#define PY_MINOR_VERSION 10
20+
#define PY_MINOR_VERSION 11
2121
#define PY_MICRO_VERSION 0
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
23-
#define PY_RELEASE_SERIAL 7
23+
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.10.0a7+"
26+
#define PY_VERSION "3.11.0a0"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is Python version 3.10.0 alpha 7
1+
This is Python version 3.11.0 alpha 1
22
=====================================
33

44
.. image:: https://travis-ci.com/python/cpython.svg?branch=master

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dnl Python's configure script requires autoconf 2.69 and autoconf-archive.
66
dnl
77

88
# Set VERSION so we only need to edit in one place (i.e., here)
9-
m4_define(PYTHON_VERSION, 3.10)
9+
m4_define(PYTHON_VERSION, 3.11)
1010

1111
AC_PREREQ([2.69])
1212

0 commit comments

Comments
 (0)