Capitalize the first character of a string.
(s: str)
| 3273 | |
| 3274 | |
| 3275 | def capitalize(s: str) -> str: |
| 3276 | """Capitalize the first character of a string.""" |
| 3277 | if s == "": |
| 3278 | return "" |
| 3279 | else: |
| 3280 | return s[0].upper() + s[1:] |
| 3281 | |
| 3282 | |
| 3283 | def extract_type(name: str) -> str: |
nothing calls this directly
no test coverage detected
searching dependent graphs…