Skip to content

triple quote and %s at beginning of line with %paste #2273

@a6073758

Description

@a6073758

Hi!

This is very similar to the already fixed problem here:
#558

But the problem persists if the magic function %paste is used.

So if you copy & paste the following in ipython

print """
%s
"""

you get


%s

as output, but if you use %paste -q instead of normal pasting, you get


get_ipython().magic(u's ')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions