]> granicus.if.org Git - python/commit
bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module (GH-9872)
authorPablo Galindo <Pablogsal@gmail.com>
Sat, 20 Oct 2018 00:46:00 +0000 (01:46 +0100)
committerGitHub <noreply@github.com>
Sat, 20 Oct 2018 00:46:00 +0000 (01:46 +0100)
commitd5b4f1b5a064c0d858352100fcddb91c363afa51
treecae99173cc824e62289c7ebd8e5be290a206d0c1
parent6395844e6adebc12c4eba1fb75c5e7c9c8b89f85
bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module (GH-9872)

The symbol table was not exposing functionality to query the nonlocal symbols
in a function or to check if a particular symbol is nonlocal.
Doc/library/symtable.rst
Lib/symtable.py
Lib/test/test_symtable.py
Misc/NEWS.d/next/Core and Builtins/2018-10-14-17-26-41.bpo-34983.l8XaZd.rst [new file with mode: 0644]
Modules/symtablemodule.c