예제 #1
0
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()