$_{generator iterator}$, 121 GeneratorExit $_{exception}$, 68, 70 generic special attribute , 18 generic function , 121 generic type , 121 GIL , 122 global name binding , 93 namespace , 20 statement , 87, 93 global interpreter lock , 122 grammar , 4 grouping , 7 

## H 

handle an exception , 47 handler exception , 25 hash built-in function , 28 hash character , 5 hash-based pyc , 122 $_{hashable}$, 66, 122 hexadecimal literal , 14 hierarchy $_{type}$, 18 hooks $_{import}$, 52 $_{meta}$, 52 $_{path}$, 52 

## I 

id built-in function , 17 identifier , 8, 64 identity $_{test}$, 79 identity of an object , 17 $_{IDLE}$, 122 if conditional expression , 80 $_{in comprehensions}$, 65 statement , 96 imaginary literal , 14 immutable , 122 data type , 64 object , 19, 64, 66 immutable object , 17 immutable sequence object , 19 immutable types subclassing , 26 import hooks , 52 statement , 22, 90 $_{import hooks}$, 52 

$_{import machinery}$, 49 import path , 122 $_{importer}$, 122 ImportError exception , 90 importing , 122 in keyword , 96 $_{operator}$, 79 inclusive or , 76 $_{INDENT token}$, 7 indentation , 7 $_{index operation}$, 19 indices() ( slice method ), 25 inheritance , 102 $_{input}$, 106 instance call , 37, 74 class , 23 object , 23, 74 int built-in function , 40 $_{integer}$, 19 object , 18 $_{representation}$, 19 integer literal , 14 interactive , 122 interactive mode , 105 internal type , 24 interpolated string literal , 12 $_{interpreted}$, 122 $_{interpreter}$, 105 $_{interpreter shutdown}$, 122 $_{inversion}$, 74 invocation , 20 io module , 23 is $_{operator}$, 79 is not $_{operator}$, 79 item $_{sequence}$, 71 $_{string}$, 71 $_{item selection}$, 19 $_{iterable}$, 123 unpacking , 81 $_{iterator}$, 123 

## J 

j in numeric literal , 15 Java language , 19 

## K 

$_{key}$, 66 

