![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __new__ |
def | complain |
Public Attributes | |
warning | |
Static Public Attributes | |
append = complain | |
extend = complain | |
insert = complain | |
pop = complain | |
remove = complain | |
sort = complain | |
reverse = complain | |
A tuple-like object that raises useful errors when it is asked to mutate. Example:: >>> a = ImmutableList(range(5), warning="You cannot mutate this.") >>> a[3] = '4' Traceback (most recent call last): ... AttributeError: You cannot mutate this.