style fix: remove () in return

https://github.com/m-labs/artiq/pull/1188#discussion_r230596860
This commit is contained in:
Drew 2018-11-05 11:45:52 -05:00 committed by GitHub
parent 7074615ebc
commit 32b0013cc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ class Server(_AsyncioServer):
# Fix issue #1186: PYON can't serialize type annotations. # Fix issue #1186: PYON can't serialize type annotations.
if any(argspec_dict.get("annotations", {})): if any(argspec_dict.get("annotations", {})):
argspec_dict["annotations"] = str(argspec_dict["annotations"]) argspec_dict["annotations"] = str(argspec_dict["annotations"])
return (argspec_dict, inspect.getdoc(function)) return argspec_dict, inspect.getdoc(function)
async def _process_action(self, target, obj): async def _process_action(self, target, obj):
if self._noparallel is not None: if self._noparallel is not None: