mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Python 3.14.0a0
This commit is contained in:
parent
2268289a47
commit
7768ff1e41
7 changed files with 143 additions and 12 deletions
|
|
@ -16,7 +16,7 @@ Unix shell's search path makes it possible to start it by typing the command:
|
|||
|
||||
.. code-block:: text
|
||||
|
||||
python3.13
|
||||
python3.14
|
||||
|
||||
to the shell. [#]_ Since the choice of the directory where the interpreter lives
|
||||
is an installation option, other places are possible; check with your local
|
||||
|
|
@ -97,8 +97,8 @@ before printing the first prompt:
|
|||
|
||||
.. code-block:: shell-session
|
||||
|
||||
$ python3.13
|
||||
Python 3.13 (default, April 4 2023, 09:25:04)
|
||||
$ python3.14
|
||||
Python 3.14 (default, April 4 2024, 09:25:04)
|
||||
[GCC 10.2.0] on linux
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
>>>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ operating system::
|
|||
|
||||
>>> import os
|
||||
>>> os.getcwd() # Return the current working directory
|
||||
'C:\\Python313'
|
||||
'C:\\Python314'
|
||||
>>> os.chdir('/server/accesslogs') # Change current working directory
|
||||
>>> os.system('mkdir today') # Run the command mkdir in the system shell
|
||||
0
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ applications include caching objects that are expensive to create::
|
|||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in <module>
|
||||
d['primary'] # entry was automatically removed
|
||||
File "C:/python313/lib/weakref.py", line 46, in __getitem__
|
||||
File "C:/python314/lib/weakref.py", line 46, in __getitem__
|
||||
o = self.data[key]()
|
||||
KeyError: 'primary'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue