summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
Diffstat (limited to 'Parser')
-rw-r--r--Parser/action_helpers.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Parser/action_helpers.c b/Parser/action_helpers.c
index c4d8f75..2411da2 100644
--- a/Parser/action_helpers.c
+++ b/Parser/action_helpers.c
@@ -122,12 +122,6 @@ _PyPegen_join_names_with_dot(Parser *p, expr_ty first_name, expr_ty second_name)
PyObject *first_identifier = first_name->v.Name.id;
PyObject *second_identifier = second_name->v.Name.id;
- if (PyUnicode_READY(first_identifier) == -1) {
- return NULL;
- }
- if (PyUnicode_READY(second_identifier) == -1) {
- return NULL;
- }
const char *first_str = PyUnicode_AsUTF8(first_identifier);
if (!first_str) {
return NULL;