|
E9216 Python Duplicate Parameter
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] E9216 Python Duplicate ParameterTwo parameters get the same Python nameThe Python generator renames a parameter named like a Python keyword: Example
// A parameter named in becomes input in Python (in is a
// Python keyword), which the second parameter already uses
generate Python;
class Copier {
String copy(String in, String input) Python { return input }
}
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
// Distinct Python names for the parameters
generate Python;
class Copier {
String copy(String source, String input) Python { return input }
}
Load the above code into UmpleOnline |