Arguments list in DocString broke after couple of latest updates
See original GitHub issueEnvironment data
- VS Code version: 1.36.1
- Extension version (available under the Extensions sidebar): 2019.6.24221
- OS and version: Mac OS Mojave
- Python version (& distribution if applicable, e.g. Anaconda):3.7.3
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): NA
- Relevant/affected Python packages and their versions: NA
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"
set to; more info #3977): XXX
Expected behaviour
Arguments list should be shown in individual lines
Actual behaviour
All arguments appear in same line
Steps to reproduce:
- Create a function & write a doc string with couple of arguments list
Actual :
Expected : (I have manually included a \n to demonstrate the expected behaviour)
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Argument list is shown in the docstring area, messes up ...
Just show a list of arguments with their default values, one below the other, the current one at the top of the list,...
Read more >How to document a method with parameter(s)? - Stack Overflow
EDIT: PEP 257 gives this example: def complex(real=0.0, imag=0.0): """Form a complex number. Keyword arguments: real -- the real part (default 0.0) imag...
Read more >Python Docstring: Documenting And Introspecting Functions
This tutorial explains what is Python Docstring and how to use it to document Python functions with examples.
Read more >doctest — Test interactive Python examples — Python 3.11.1 ...
Return a list of the DocTest s that are defined by obj's docstring, or by any of its contained objects' docstrings. The optional...
Read more >Style guide — numpydoc v1.6.0rc1.dev0 Manual
This document describes the syntax and best practices for docstrings used with ... arguments to `metric`: refer to each metric documentation for a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh ok, thanks for checking back. Done so 😃
Hi @kimadeline With the latest update, it seems to work now. But let me test it throughly before closing the issue.