Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-41842: Add a unregister function in _codecs module #22360

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

Merged
merged 15 commits into from
Sep 28, 2020
Merged
Prev Previous commit
Next Next commit
update doc
  • Loading branch information
shihai1991 committed Sep 24, 2020
commit 3257b6c2ca5fbcdf6c1bbc4a131a1efcca8f1787
4 changes: 1 addition & 3 deletions 4 Include/codecs.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ PyAPI_FUNC(int) PyCodec_Register(
PyObject *search_function
);

/* Unregister a codec search function.

Unregister a codec search function and clear the registry's cache.
/* Unregister a codec search function and clear the registry's cache.
If the search function is not registered, do nothing.
shihai1991 marked this conversation as resolved.
Show resolved Hide resolved
Return 0 on success. Raise an exception and return -1 on error. */

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.