Skip to content

When specifying names for classes, functions, etc, are string literals required #4944

Closed Answered by evguran
tonygould asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
this name in the end comes to the function
https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_FromString
which creates a new reference,
so you may not be bothered about memory state imho

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tonygould
Comment options

You must be logged in to vote
0 replies
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