Finish docstrings for jid.py
This commit is contained in:
parent
6c4b01db8a
commit
613323b5fb
@ -296,8 +296,13 @@ def _format_jid(local=None, domain=None, resource=None):
|
|||||||
|
|
||||||
|
|
||||||
class InvalidJID(ValueError):
|
class InvalidJID(ValueError):
|
||||||
pass
|
"""
|
||||||
|
Raised when attempting to create a JID that does not pass validation.
|
||||||
|
|
||||||
|
It can also be raised if modifying an existing JID in such a way as
|
||||||
|
to make it invalid, such trying to remove the domain from an existing
|
||||||
|
full JID while the local and resource portions still exist.
|
||||||
|
"""
|
||||||
|
|
||||||
# pylint: disable=R0903
|
# pylint: disable=R0903
|
||||||
class UnescapedJID(object):
|
class UnescapedJID(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user