mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-33034: Improve exception message when cast fails for {Parse,Split}Result.port (GH-6078)
This commit is contained in:
parent
7389fd935c
commit
2cb4661707
3 changed files with 18 additions and 1 deletions
|
@ -0,0 +1,3 @@
|
|||
Providing an explicit error message when casting the port property to anything
|
||||
that is not an integer value using ``urlparse()`` and ``urlsplit()``.
|
||||
Patch by Matt Eaton.
|
Loading…
Add table
Add a link
Reference in a new issue