Home | History | Annotate | Download | only in tutorial

Lines Matching full:namespaces

54 Python Scopes and Namespaces
58 scope rules. Class definitions play some neat tricks with namespaces, and you
59 need to know how scopes and namespaces work to fully understand what's going on.
65 A *namespace* is a mapping from names to objects. Most namespaces are currently
68 namespaces are: the set of built-in names (containing functions such as :func:`abs`, and
71 a namespace. The important thing to know about namespaces is that there is
72 absolutely no relation between names in different namespaces; for instance, two
90 Namespaces are created at different moments and have different lifetimes. The
93 when the module definition is read in; normally, module namespaces also last
111 time during execution, there are at least three nested scopes whose namespaces
155 Scopes and Namespaces Example
159 namespaces, and how :keyword:`global` and :keyword:`nonlocal` affect variable