<s> class Integral : <EOL> def __int__ ( self ) : <EOL> return <NUM_LIT> <EOL> for base in [ object ] : <EOL> class TruncReturnsNonInt ( base ) : <EOL> def __trunc__ ( self ) : <EOL> return Integral ( ) <EOL> assert int ( TruncReturnsNonInt ( ) ) == <NUM_LIT> <EOL> class TruncReturnsTrunc : <EOL> def __trunc__ ( self ) : <EOL> return '<STR_LIT>' <EOL> int ( TruncReturnsTrunc ( ) ) </s>
