I know that my question looks to broad, but I hope the answer on this question will give me correct direction what to read on. I am new to Tornado framework, basically I am new to Python.
I am looking into this project:
Could you please explain me a few lines of code:
raise gen.Return((yield self._api.get_me()))
@genis a decorator, it will modify the function below it at definition (https://wiki.python.org/moin/PythonDecorators)
raiseto return values and will catch it with
except gen.Return(i find it ugly but it works).