mirror of https://github.com/python/cpython
doc: Add glossary entry for "free threading" (#119865)
This commit is contained in:
parent
f3fc800d5f
commit
9bc6045842
|
@ -438,6 +438,12 @@ Glossary
|
||||||
division. Note that ``(-11) // 4`` is ``-3`` because that is ``-2.75``
|
division. Note that ``(-11) // 4`` is ``-3`` because that is ``-2.75``
|
||||||
rounded *downward*. See :pep:`238`.
|
rounded *downward*. See :pep:`238`.
|
||||||
|
|
||||||
|
free threading
|
||||||
|
A threading model where multiple threads can run Python bytecode
|
||||||
|
simultaneously within the same interpreter. This is in contrast to
|
||||||
|
the :term:`global interpreter lock` which allows only one thread to
|
||||||
|
execute Python bytecode at a time. See :pep:`703`.
|
||||||
|
|
||||||
function
|
function
|
||||||
A series of statements which returns some value to a caller. It can also
|
A series of statements which returns some value to a caller. It can also
|
||||||
be passed zero or more :term:`arguments <argument>` which may be used in
|
be passed zero or more :term:`arguments <argument>` which may be used in
|
||||||
|
|
Loading…
Reference in New Issue