Wrong indent when line break after a string with backslash

Environment data

  • VS Code version: 1.35
  • Extension version (available under the Extensions sidebar): 2019.5.18875
  • OS and version: Win 7 x64
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): n/
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): true

Expected behaviour

a = 'a\\b'
# <==intent should be at the very left

Actual behaviour

image

Steps to reproduce:

  1. type a = 'a\\b'
  2. Press Enter