summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-20 15:59:04 +0900
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-20 16:23:02 +0900
commit6ba53cf1ff49025d9aab5f133aa9f0e2c33fe0e1 (patch)
tree9cafb5e452740630231dc6969d1c23212d382810
parentd7758eb7f453ddcdb3325daf0c49047010af78f4 (diff)
downloadslixmpp-6ba53cf1ff49025d9aab5f133aa9f0e2c33fe0e1.tar.gz
slixmpp-6ba53cf1ff49025d9aab5f133aa9f0e2c33fe0e1.tar.bz2
slixmpp-6ba53cf1ff49025d9aab5f133aa9f0e2c33fe0e1.tar.xz
slixmpp-6ba53cf1ff49025d9aab5f133aa9f0e2c33fe0e1.zip
ElementBase: Remove attrib interface.
-rw-r--r--slixmpp/xmlstream/stanzabase.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/slixmpp/xmlstream/stanzabase.py b/slixmpp/xmlstream/stanzabase.py
index e3926bfb..612acd93 100644
--- a/slixmpp/xmlstream/stanzabase.py
+++ b/slixmpp/xmlstream/stanzabase.py
@@ -1280,20 +1280,6 @@ class ElementBase(object):
if attr in self.xml.attrib:
del self.xml.attrib[attr]
- @property
- def attrib(self):
- """Return the stanza object itself.
-
- Older implementations of stanza objects used XML objects directly,
- requiring the use of ``.attrib`` to access attribute values.
-
- Use of the dictionary syntax with the stanza object itself for
- accessing stanza interfaces is preferred.
-
- .. deprecated:: 1.0
- """
- return self
-
def _fix_ns(self, xpath, split=False, propagate_ns=True):
return fix_ns(xpath, split=split,
propagate_ns=propagate_ns,