コード例 #1
0
ファイル: comments.py プロジェクト: funkyfuture/black
async def wat():
    async with X.open_async() as x:  # Some more comments
        result = await x.method1()
    # Comment after ending a block.
    if result:
        print('A OK', file=sys.stdout)
        # Comment between things.
        print()
コード例 #2
0
ファイル: comments.py プロジェクト: mbelletti/black
async def wat():
    async with X.open_async() as x:  # Some more comments
        result = await x.method1()
    # Comment after ending a block.
    if result:
        print("A OK", file=sys.stdout)
        # Comment between things.
        print()
コード例 #3
0
ファイル: comments.py プロジェクト: qualname/grey
async def wat():
    # This comment, for some reason \
    # contains a trailing backslash.
    async with X.open_async() as x:  # Some more comments
        result = await x.method1()
    # Comment after ending a block.
    if result:
        print('A OK', file=sys.stdout)
        # Comment between things.
        print()