- Glossary - E
- ********
- EAFP
- Easier to ask for forgiveness than permission. This common Python
- coding style assumes the existence of valid keys or attributes and
- catches exceptions if the assumption proves false. This clean and
- fast style is characterized by the presence of many "try" and
- "except" statements. The technique contrasts with the *LBYL* style
- common to many other languages such as C.
- expression
- A piece of syntax which can be evaluated to some value. In other
- words, an expression is an accumulation of expression elements like
- literals, names, attribute access, operators or function calls
- which all return a value. In contrast to many other languages, not
- all language constructs are expressions. There are also
- *statement*s which cannot be used as expressions, such as "while".
- Assignments are also statements, not expressions.
- extension module
- A module written in C or C++, using Python's C API to interact with
- the core and with user code.
Python software and documentation are licensed under the PSF License Agreement.
Starting with Python 3.8.6, examples, recipes, and other code in the documentation are dual licensed under the PSF License Agreement and the Zero-Clause BSD license.
Some software incorporated into Python is under different licenses. The licenses are listed with code falling under that license. See Licenses and Acknowledgements for Incorporated Software for an incomplete list of these licenses.
Python and it's documentation is:
Copyright © 2001-2022 Python Software Foundation. All rights reserved.
Copyright © 2000 BeOpen.com. All rights reserved.
Copyright © 1995-2000 Corporation for National Research Initiatives. All rights reserved.
Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.
See History and License for complete license and permissions information:
https://docs.python.org/3/license.html#psf-license