Differences From Artifact [8b7759e076]:
- File gc_lang/fr/modules/mfsp.py — part of check-in [48056be413] at 2018-06-24 14:16:22 on branch rg — [core] code cleaning (pylint) (user: olr, size: 1564) [annotate] [blame] [check-ins using] [more...]
To Artifact [9096dedca9]:
- File gc_lang/fr/modules/mfsp.py — part of check-in [16611cf664] at 2019-05-11 18:50:40 on branch trunk — [core][fr] code cleaning (pylint) (user: olr, size: 1588) [annotate] [blame] [check-ins using]
| ︙ | |||
41 42 43 44 45 46 47 | 41 42 43 44 45 46 47 48 49 | - + |
"returns sWord modified by sSfx"
if not sSfx:
return ""
if sSfx == "0":
return sWord
try:
return sWord[:-(ord(sSfx[0])-48)] + sSfx[1:] if sSfx[0] != '0' else sWord + sSfx[1:] # 48 is the ASCII code for "0"
|