Changes between Version 106 and Version 107 of j2p
- Timestamp:
- 07/11/24 09:50:35 (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v106 v107 191 191 192 192 193 === Reserved keywords 194 Python has a number of reserved keywords: 195 196 and 197 except 198 lambda 199 with 200 as 201 finally 202 nonlocal 203 while 204 assert 205 false 206 None 207 yield 208 break 209 for 210 not 211 class 212 from 213 or 214 continue 215 global 216 pass 217 def 218 if 219 raise 220 del 221 import 222 return 223 elif 224 in 225 True 226 else 227 is 228 try 229 230 If you have these in your java program, as method name or variable name, then j2p will change the name by capitalizing the first letter of the name. Do not use both the lower and upper case variant at the same time, because the translated names will then collide. 231 232 193 233 === More notes: 194 234 * some classes like {{{Arrays}}} or {{{Override}}} do not have a direct python equivalent. calls to static functions in these classes can still be translated.