mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-18739 Union types are generated in PEP 484 compatible format
This commit is contained in:
committed by
Andrey Vlasovskikh
parent
8351fcb532
commit
c81fcb5004
@@ -120,7 +120,7 @@ public class PySignature {
|
||||
return myTypes.get(0);
|
||||
}
|
||||
else {
|
||||
return StringUtil.join(myTypes, " or ");
|
||||
return "Union[" + StringUtil.join(myTypes, ", ") + "]";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user