Skip to content
Discussion options

You must be logged in to vote

to_string attempts to convert to an authority string and falls back to the user input. It has more overhead to run. Calling str calls the __str__ method which returns the user input directly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 12rambau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants