urlparse.SplitResult

class urlparse.SplitResult[source]

Methods

__format__ default object formatter
__getnewargs__() Return self as a plain tuple.
__getstate__() Exclude the OrderedDict from pickling
__new__(_cls, scheme, netloc, path, query, ...) Create new instance of SplitResult(scheme, netloc, path, query, fragment)
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__repr__() Return a nicely formatted representation string
__sizeof__(() -> int) size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().
_asdict() Return a new OrderedDict which maps field names to their values
_make(iterable[, new, len]) Make a new SplitResult object from a sequence or iterable
_replace(_self, **kwds) Return a new SplitResult object replacing specified fields with new values
count(...)
geturl()
index((value, [start, ...) Raises ValueError if the value is not present.

Attributes

fragment Alias for field number 4
hostname
netloc Alias for field number 1
password
path Alias for field number 2
port
query Alias for field number 3
scheme Alias for field number 0
username