Docstring triple quotes misbehaving

Hi!

I am using PyCharm 2020.3 Community Edition. 

Just noticed today whenever I key in the triple quotes, it is autofilled with another set, like so """|""" (pipe in middle just to show my cursor). Six quotes, good!

However, when either a SPACE or ENTER is pressed, I get the a total count of 9 quotes. Like so:

"""
|
""""""

Apparently, all text below will be in comment until the next set of """. We should only expect it to be:

"""
|
"""

How to fix this?

0
2 comments

Hi,

It doesn't reproduce in my environment.

Do you have any custom plugins installed by any chance?

0

I have had installed Black and Flask8 as external tools, but even after removing them, this symptoms persist.

 

0

Please sign in to leave a comment.