Fix some typos.

This commit is contained in:
Lance Stout 2010-12-28 16:17:08 -05:00
parent 8749f5e09b
commit e55e213c78

View file

@ -245,7 +245,7 @@ class BaseXMPP(XMLStream):
"""Create a Presence stanza associated with this stream.""" """Create a Presence stanza associated with this stream."""
return Presence(self, *args, **kwargs) return Presence(self, *args, **kwargs)
def make_iq(self, id=0, ifrom=None, ito=None, type=None, query=None): def make_iq(self, id=0, ifrom=None, ito=None, itype=None, iquery=None):
""" """
Create a new Iq stanza with a given Id and from JID. Create a new Iq stanza with a given Id and from JID.
@ -262,7 +262,7 @@ class BaseXMPP(XMLStream):
iq['to'] = ito iq['to'] = ito
iq['from'] = ifrom iq['from'] = ifrom
iq['type'] = itype iq['type'] = itype
iq['query'] = query iq['query'] = iquery
return iq return iq
def make_iq_get(self, queryxmlns=None, ito=None, ifrom=None, iq=None): def make_iq_get(self, queryxmlns=None, ito=None, ifrom=None, iq=None):