Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 329 Bytes

File metadata and controls

29 lines (23 loc) · 329 Bytes

co_names

Description

Returns a tuple containing the names used by the bytecode.

Syntax

code.co_names

Return Value

#TODO

Time Complexity

#TODO

Example

>>> c = compile('a = 2+2; b=10', '<string>', 'exec')
>>> c.co_names
('a', 'b')

See Also

#TODO