Unpacking Arguments not detected on new lines
See original GitHub issue- Editor name and version: VS Code 1.22.2
- Platform: MacOs 10.13
- Color scheme: Monokai w/ Custom
- MagicPython version: The one shipped with VS Code 1.22.2. Commit: “https://github.com/MagicStack/MagicPython/commit/b453f26ed856c9b16a053517c41207e3a72cc7d5”
Actual behavior
keyword.operator.unpacking.arguments.python
is not detected on a new line
Expected behavior
Should be detected in new lines
Steps to reproduce:
some_long_line_________________________________________ = foo('a', 'b', *items, **kwargs)
# In this case, *items is detected properly
some_long_line_________________________________________ = foo('a', 'b'
*items,
**kwargs)
# here, both arg and kwargs are not detected properkly
Screenshot
Scope - Correct
Scope - Incorrect
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Packing and Unpacking Arguments in Python - GeeksforGeeks
Here ** unpacked the dictionary used with it, and passed the items in the dictionary as keyword arguments to the function. So writing...
Read more >Python argument unpacking - Stack Overflow
1 Answer 1 ... In Python3, the Tuple Parameter Unpacking feature is removed. Per PEP 3113: Unfortunately this feature of Python's rich function ......
Read more >How to Fix: Positional Argument Follows Keyword Argument in ...
In this article, you will learn how to fix the "SyntaxError: Positional Argument Follows Keyword Argument" in Python by understanding what ...
Read more >Pylint features - Pylint 2.16.0-dev documentation
Unnecessary semicolon Used when a statement is ended by a semi-colon (";"), which isn't necessary (that's python, not C ;). missing-final-newline (C0304). Final ......
Read more >How to use sys.argv in Python with examples - KnowledgeHut
argv is a list in Python that contains all the command-line arguments passed to the script. It is essential in Python while working...
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 Free
Top 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
The fixed version will be released soon!
@vpetrovykh