Demo entry 2363817

python 3 type hints

   

Submitted by anonymous on Aug 14, 2015 at 21:26
Language: Python 3. Code size: 151 Bytes.

@asyncio.coroutine
def init(loop, host: str, port: int) -> "sth sth sth":
    """Initialize the application."""
    app = web.Application(loop=loop)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).