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:
Faris A Chugthai 2021-01-05 11:26:09 -05:00 committed by GitHub
parent d44a352e0b
commit b4aa80f097
Failed to generate hash of commit

View file

@ -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):