Cleaned up some general python #12

Merged
chillymosh merged 8 commits from 2.0 into 2.0 2021-09-02 19:32:47 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 5a23f1ec75 - Show all commits

View File

@@ -297,4 +297,4 @@ def main():
args.func(parser, args)
if __name__ == '__main__':
main()
main()

View File

@@ -1020,4 +1020,4 @@ def format_dt(dt: datetime.datetime, /, style: Optional[TimestampStyle] = None)
def raise_expected_coro(coro, error: str)-> TypeError:
if not asyncio.iscoroutinefunction(coro):
raise TypeError(error)
return coro
return coro