Commit 51a2a51
committed
[FIX] core: inline
This is a private variable of the stdlib, it was added in Python
3.12 (python/cpython#102508) and only backported to
3.11.4 (cpython/python#104575) and 3.10.12 (cpython/python#104592) so
is not necessarily available in versions of 3.10 and 3.11 clients
might be running. So embed the content into the file directly to avoid
depending on the stdlib. Not to mention the concept of C0 is not
exactly novel or mutable.
Also inline it in its sole use, there's no reason to have multiple
string literals and a runtime concatenation.
Fixes odoo#230990_WHATWG_C0_CONTROL_OR_SPACE
1 parent 82f857b commit 51a2a51
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | | - | |
| 65 | + | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
0 commit comments