|
E9215 Python Reserved Name
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] E9215 Python Reserved NameA name that Python reserves or that generated code usesThe Python generator reports this error, and does not generate the class, for three kinds of name:
Rename the element. Example
// len is a Python built-in that generated code calls,
// so a class named len would hide it: E9215
generate Python;
namespace shapes;
class len {
Double value;
}
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
// Another name avoids the clash
generate Python;
namespace shapes;
class Length {
Double value;
}
Load the above code into UmpleOnline |