Obviously not. An introductory course would introduce concepts like lexers, parsers, AST, etc, instead of working on strings.
Here are lines 431 through 433:
if expr.startswith('new '): obj = expr[4:] if obj.startswith('Date('):