Message292
C:\>python
ActivePython 2.0, build 202 (ActiveState Tool Corp.)
based on Python 2.0 (#8, Oct 19 2000, 11:30:05) [MSC 32
bit (Intel)] on win32
Type "copyright", "credits" or "license" for more
information.
>>> s = """this is a string in triple quotes that has a
trailing \""""
>>> s
'this is a string in triple quotes that has a trailing "'
>>>
D:\home\development\src\sourceforge\jython>jython
Jython 2.1a1 on java1.3.0 (JIT: null)
Type "copyright", "credits" or "license" for more
information.
>>> s = """this is a string in triple quotes that has a
trailing \""""
Traceback (innermost last):
(no code object) at line 0
File "<console>", line 2
SyntaxError: Lexical error at line 2, column 0.
Encountered: <EOF> after : ""
>>>
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:49 | admin | link | issue410794 messages |
2008-02-20 17:16:49 | admin | create | |
|