From: Danny Y. <dy...@hk...> - 2002-07-08 23:43:57
|
Hi everyone, Does anyone know why triple quoted strings won't work in the interactive interpreter? ### [dyoo@tesuque dyoo]$ jython Jython 2.1 on java1.4.0 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> ''' Traceback (innermost last): (no code object) at line 0 File "<console>", line 2 SyntaxError: Lexical error at line 2, column 0. Encountered: <EOF> after : "" ### Triple quoted strings work if Jython is being run non-interactively, so it's probably something strange with the parsing of interactive expressions. I've tested this on Jython 2.1, although I haven't tried it on the CVS tree yet. Thanks for any help! |