static nested scope

static nested scope

(programming)Where the scope of an identifier is fixed atcompile-time to be the smallest block (begin/end,function, or procedure body) containing the identifier'sdeclaration. This means that an identifier declared in someblock is only accessible within that block and from proceduresdeclared within it.

This term is used in the Python community.

Compare lexical scope.