File: raises_exception.py

package info (click to toggle)
cmd2 2.4.2%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,672 kB
  • sloc: python: 19,288; makefile: 88; sh: 16
file content (6 lines) | stat: -rw-r--r-- 132 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/usr/bin/env python
# coding=utf-8
"""
Example demonstrating what happens when a Python script raises an exception
"""
1 + 'blue'