Cannot highlight a simple python code correctly! #888
Labels
duplicate
This issue or pull request already exists
needs stub
waiting for upstream
Waiting for upstream to release a fix
source code:
import numpy as np
with np.load("A") as T:
x = T["c"]
print(f" x.shape: {x.shape}")
x = np.zeros((2, 2, 2))
print(f" x.shape: {x.shape}")
Environment data
Expected behaviour
"shape" in both print are of same color
Actual behaviour
"shape" displayed in different colors (see snapshot)
Logs
Code Snippet / Additional information
XXX
The text was updated successfully, but these errors were encountered: