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

document that unsafe_string accepts Cstring #56907

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stevengj
Copy link
Member

Document that unsafe_string allows its argument to be a Cstring.

There is also another method that accepts Cwstring, which transcodes from a NUL-terminated wchar_t array (assumed to be either UTF-32 or UTF-16 depending on the width of wchar_t). Should that be documented in the same docstring or in a different docstring?

@stevengj stevengj added docs This change adds or pertains to documentation strings "Strings!" labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation strings "Strings!"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant