10 lines
157 B
Python
10 lines
157 B
Python
|
"""
|
||
|
categories: Types,Exception
|
||
|
description: Assign instance variable to exception
|
||
|
cause: Unknown
|
||
|
workaround: Unknown
|
||
|
"""
|
||
|
e = Exception()
|
||
|
e.x = 0
|
||
|
print(e.x)
|