mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
736ed6f7a9
commit
17b16e13bb
24 changed files with 1023 additions and 1023 deletions
|
@ -62,7 +62,7 @@ class SymbolTable:
|
|||
def get_type(self):
|
||||
"""Return the type of the symbol table.
|
||||
|
||||
The values retuned are 'class', 'module' and
|
||||
The values returned are 'class', 'module' and
|
||||
'function'.
|
||||
"""
|
||||
if self._table.type == _symtable.TYPE_MODULE:
|
||||
|
@ -245,7 +245,7 @@ class Symbol:
|
|||
return bool(self.__flags & DEF_PARAM)
|
||||
|
||||
def is_global(self):
|
||||
"""Return *True* if the sysmbol is global.
|
||||
"""Return *True* if the symbol is global.
|
||||
"""
|
||||
return bool(self.__scope in (GLOBAL_IMPLICIT, GLOBAL_EXPLICIT)
|
||||
or (self.__module_scope and self.__flags & DEF_BOUND))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue