Improved example code

Fixed bug in example code
This commit is contained in:
Joseph Joseph 2023-09-29 13:09:36 +05:30 committed by GitHub
parent 8037487165
commit ccb6cd6aef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,8 @@ A Simple Example
@app.route("/") @app.route("/")
def hello(): def hello():
return "Hello, World!" return "Hello, World!"
if __name__ == "__main__":
app.run()
.. code-block:: text .. code-block:: text