ERROR: Pylance failed to parse docstring at index 1 #6952
Labels
docstrings
fixed in next version (release)
A fix has been implemented and will appear in an upcoming version
needs repro
Issue has not been reproduced yet
Type: Bug
I have this attribute inside of a Django model:
Hovering over any piece of code that references this variable gives me:
I would expect it to show me the docstring in full, formatted the same way (not missing any spaces after the initial dedent), but I would accept if it did some weird spacing. However, I do not think it should show that error message.
Extension version: 2025.2.1
VS Code version: Code 1.97.2 (e54c774e0add60467559eb0d1e229c6452cf8447, 2025-02-12T23:20:35.343Z)
OS version: Darwin arm64 24.2.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: