Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update parse_transitions.py #1443

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Update parse_transitions.py #1443

merged 1 commit into from
Jan 4, 2025

Conversation

Jemoka
Copy link
Member

@Jemoka Jemoka commented Jan 4, 2025

Addresses the new warning Python 3.12 throws:

stanza/models/constituency/parse_transitions.py:322: SyntaxWarning: invalid escape sequence '\T'
  return "\Tree [.%s ? ]" % self.label

@Jemoka Jemoka requested a review from AngledLuffa January 4, 2025 18:01
@AngledLuffa AngledLuffa merged commit 6469d39 into dev Jan 4, 2025
1 check passed
@AngledLuffa AngledLuffa deleted the invalid-escape branch January 4, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants