Commit 7b4d879
committed
Fix Python 3.11 compatibility in api_import.py
Extract backslash-containing .replace() calls out of f-string expressions
to fix SyntaxError on Python <3.12 where f-string expression parts cannot
include backslashes.
https://claude.ai/code/session_01VzBz78XPLwNAzDDaSFsTbC1 parent 6e3e462 commit 7b4d879
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
1036 | | - | |
| 1036 | + | |
| 1037 | + | |
1037 | 1038 | | |
1038 | | - | |
| 1039 | + | |
| 1040 | + | |
1039 | 1041 | | |
1040 | 1042 | | |
1041 | 1043 | | |
| |||
0 commit comments