(name)
| 31 | |
| 32 | |
| 33 | def script_name(name): |
| 34 | # type: (_Text) -> _Text |
| 35 | if not EXE_EXTENSION: |
| 36 | return name |
| 37 | stem, ext = os.path.splitext(name) |
| 38 | return name if (ext and ext.lower() in EXE_EXTENSIONS) else name + EXE_EXTENSION |
| 39 | |
| 40 | |
| 41 | class _CurrentLibC(object): |
no test coverage detected