Commit b89d4f5
Refactor sanitize_isoformat_str
Rather than splitting the string at position 10 and re-joining it with
PyUnicode_Format, this copies the original unicode object and overwrites
the separator character.
Co-Authored-By: Alexey Izbyshev <izbyshev@ispras.ru>1 parent a0246a0 commit b89d4f5
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4864 | 4864 | | |
4865 | 4865 | | |
4866 | 4866 | | |
4867 | | - | |
4868 | | - | |
4869 | | - | |
4870 | | - | |
4871 | | - | |
4872 | | - | |
4873 | | - | |
4874 | | - | |
| 4867 | + | |
| 4868 | + | |
4875 | 4869 | | |
4876 | 4870 | | |
4877 | 4871 | | |
4878 | | - | |
4879 | | - | |
4880 | | - | |
4881 | | - | |
| 4872 | + | |
| 4873 | + | |
| 4874 | + | |
4882 | 4875 | | |
4883 | 4876 | | |
4884 | 4877 | | |
| |||
0 commit comments