String literals and the line continuation character

17 views
Skip to first unread message

Evan O'Dorney

unread,
Jul 21, 2021, 7:42:46 PM7/21/21
to sage-devel
It seems to work, but not quite:

sage: "abc\
....: 23"    
'abcInteger(23)'

Cheers,
Evan

Michael Orlitzky

unread,
Jul 21, 2021, 9:30:07 PM7/21/21
to sage-...@googlegroups.com
On Wed, 2021-07-21 at 16:42 -0700, Evan O'Dorney wrote:
> It seems to work, but not quite:
>
> sage: "abc\
> ....: 23"
> 'abcInteger(23)'
>
>

What version of Sage? Your example works for me after these two fixes:

* https://trac.sagemath.org/ticket/30417
* https://trac.sagemath.org/ticket/30928



Reply all
Reply to author
Forward
0 new messages