mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
Add brackets to ambiguous data type (#3981)
Without the brackets python defaults to assuming that the iterable is a tuple. In the reference guide `__all__` is explicitly stated to be of type `list`. Functionally I'll admit this doesn't change anything but to observe the correct usage pattern of `__all__`, simply add the brackets.
This commit is contained in:
parent
d44a352e0b
commit
b4aa80f097
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
"""Hooks for the distributed parallel computing library."""
|
||||
from xonsh.contexts import Functor
|
||||
|
||||
__all__ = "DSubmitter", "dsubmit"
|
||||
__all__ = ["DSubmitter", "dsubmit"]
|
||||
|
||||
|
||||
def dworker(args, stdin=None):
|
||||
|
|
Loading…
Add table
Reference in a new issue