#NEWLINE# def __getitem__( self , py_type ) : #NEWLINE# #INDENT# if isinstance ( self , collections . Sequence ) : #NEWLINE# #INDENT# raise TypeError ( 'An Option type-hint only accepts a single type parameter.' ) #NEWLINE# #UNINDENT# return Union [ ( py_type , None ) ]