New submission from Vishnuvenkatesh Dhage <vmdh...@gmail.com>:

In Python shell v3.8.2,

when user want to use both single quotation mark and double quotation mark in 
one sentence/paragraph then Single Quotation is displayed in the screen along 
with escape code i.e. \', but double quotation display ok i.e. ".

example:
>>>'\"Python\" programming language is very easy. It\'s used for developing 
>>>rapid application development.'



The result is printed is as below
>>>'"Python" programming language is very easy. It\'s used for developing rapid 
>>>application development.'

In my view, after pressing enter the output should be 
>>>'"Python" programming language is very easy. It's used for developing rapid 
>>>application development.'
 
Please look into my observation.
Thanks with regards
Vishnuvenkatesh Dhage
encls: Python v3.8.2 Shell screenshot along with example

----------
components: IO
files: Single and Double Quotatin using escape code.jpg
messages: 366736
nosy: benjamin.peterson, vmdhage
priority: normal
severity: normal
status: open
title: Printing of Single (') and Double (") code in one sentence using escape 
Code
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file49074/Single and Double Quotatin using 
escape code.jpg

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40323>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to