[issue35962] Slight error in words in [ 2.4.1. String and Bytes literals ]

2019-02-11 Thread Magnien Sebastien


New submission from Magnien Sebastien :

The documentation reads :

" The backslash (\) character is used to escape characters that otherwise have 
a special meaning, such as newline, backslash itself, or the quote character. "

However, 'n' does not "otherwise have a special meaning", nor does it represent 
a new line.

The backslash character does in fact do two different things :

1) It removes special meanings from characters that have one (\\).
2) It assigns a special meaning to normal characters (\n).

A better description would therefore be :

" The backslash (\) character is used to either escape characters that have a 
special meaning, such as backslash itself, or the quote character - or give 
special meaning to characters that do not have one, such as 'n', whose 
escapment '\n' means 'newline'. "

--
assignee: docs@python
components: Documentation
messages: 335205
nosy: Magnien Sebastien, docs@python
priority: normal
severity: normal
status: open
title: Slight error in words in [ 2.4.1. String and Bytes literals ]
type: enhancement
versions: Python 2.7, Python 3.7

___
Python tracker 
<https://bugs.python.org/issue35962>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35962] Slight error in words in [ 2.4.1. String and Bytes literals ]

2019-02-14 Thread Magnien Sebastien


Magnien Sebastien  added the comment:

I'm all up for it; however I only ever worked on small solo projects. I don't 
really know where to start. Must I clone the whole python repo, or is there 
maybe a doc repo?

--

___
Python tracker 
<https://bugs.python.org/issue35962>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com