Skip to content

Commit 5ddfbdc

Browse files
authored
Merge pull request #6462 from IEBqp/guide-patch
[docs] Fix syntax error in app exit code snippet
2 parents 23bf10e + b913f10 commit 5ddfbdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guide/app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ To exit the app with a return code, you should call `sys.exit`.
249249
Here's how you might do that:
250250

251251
```python
252-
if __name__ == "__main__"
252+
if __name__ == "__main__":
253253
app = MyApp()
254254
app.run()
255255
import sys

0 commit comments

Comments
 (0)