codeblock

This commit is contained in:
Kenneth Reitz
2013-09-30 20:57:21 -04:00
parent e9de10da8f
commit 4ae9239002
+2 -2
View File
@@ -3,7 +3,7 @@ Flask-WebSocket
WebSockets in Python are really hard.
::
.. code-block:: python
from flask import Flask
from flask_websockets import WebSocket
@@ -16,7 +16,7 @@ WebSockets in Python are really hard.
message = ws.receive()
ws.send(message)
@app.route('/'')
@app.route('/')
def hello():
return 'Hello World!'