File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -1522,13 +1522,6 @@ int process_compile_externals(
15221522
15231523 while (PyDict_Next (externals , & pos , & key , & value ))
15241524 {
1525- if (!PY_STRING_CHECK (key )) {
1526- PyErr_Format (
1527- PyExc_TypeError ,
1528- "keys of externals dict must be strings" );
1529-
1530- return ERROR_INVALID_ARGUMENT ;
1531- }
15321525 identifier = PY_STRING_TO_C (key );
15331526
15341527 if (PyBool_Check (value ))
@@ -1599,13 +1592,6 @@ int process_match_externals(
15991592
16001593 while (PyDict_Next (externals , & pos , & key , & value ))
16011594 {
1602- if (!PY_STRING_CHECK (key )) {
1603- PyErr_Format (
1604- PyExc_TypeError ,
1605- "keys of externals dict must be strings" );
1606-
1607- return ERROR_INVALID_ARGUMENT ;
1608- }
16091595 identifier = PY_STRING_TO_C (key );
16101596
16111597 if (PyBool_Check (value ))
You can’t perform that action at this time.
0 commit comments