Documentation Index
Fetch the complete documentation index at: https://edgepython.com/llms.txt
Use this file to discover all available pages before exploring further.
if / elif / else
Output
while
Output
while … else
Theelse runs if the loop completes without break.
Output
for
Iterates anything that produces a sequence: list, tuple, dict, set, range, string, generator.Output
Output
Output
break and continue
Output
for … else
Runs when the loop exhausts its iterator (nobreak).
Output
match / case
Pattern matching by equality and the_ wildcard.
Output
try / except / else / finally
Output
Output
Output
raise
Output
raise X from Y chains exceptions:
Output
Exception names available
These are pre-bound type names you can match against:Exception, BaseException, ValueError, TypeError, NameError, KeyError, IndexError, AttributeError, RuntimeError, ZeroDivisionError, OverflowError, MemoryError, RecursionError, StopIteration, NotImplementedError, OSError, IOError, ImportError, ModuleNotFoundError, AssertionError, ArithmeticError, LookupError.
with
Context managers.__enter__ / __exit__ aren’t user-definable in Edge Python, but the syntax is supported for compatibility:
Output
Output
assert
Output
AssertionError.
del
Removes a binding from the slot. Works on plain names and indexed positions.Output