O'Reilly logo
  • Andrea Sanquez thinks this is interesting:

The order in which the namespaces are scanned when looking for a name is therefore: local, enclosing, global, built-in (LEGB).

From

Cover of Learning Python

Note

(L.E.G.B)