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

bpo-35397: Remove deprecation and document urllib.parse.unwrap #11481

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
5 participants
@remilapeyre
Copy link
Contributor

remilapeyre commented Jan 9, 2019

Show resolved Hide resolved Doc/library/urllib.parse.rst Outdated
@ahmad10111
Copy link

ahmad10111 left a comment

Ok.Open trigger


def _unwrap(url):
"""unwrap('<URL:type://host/path>') --> 'type://host/path'."""
"""unwrap('<URL:scheme://host/path>') --> 'scheme://host/path'."""

This comment has been minimized.

@merwok

merwok Jan 10, 2019

Contributor
Suggested change Beta
"""unwrap('<URL:scheme://host/path>') --> 'scheme://host/path'."""
"""Transform a string like '<URL:scheme://host/path>' into 'scheme://host/path'.
The string is returned unchanged if it's not a wrapped URL.
"""
@merwok

merwok approved these changes Jan 10, 2019

@merwok merwok changed the title bpo-35397: Remove deprecation and document urllib.parse.unwrap() bpo-35397: Remove deprecation and document urllib.parse.unwrap Jan 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment