Skip to content

Mistake in python documentation related to escape sequences #95994

Closed
@anupkaushal97

Description

@anupkaushal97

Escape_Sequences
There is mistake related to escape sequences in Python documentation
page link: https://docs.python.org/3/reference/lexical_analysis.html#strings

it shows "\newline" with meaning "Backslash and newline ignored" while using this has no effect in code

print('Hello \newline World!')

outputs: Hello
ewline World!

Metadata

Metadata

Assignees

Labels

docsDocumentation in the Doc dirtriagedThe issue has been accepted as valid by a triager.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions