Skip to content
Snippets Groups Projects
Commit 316279b4 authored by Wannes Rombouts's avatar Wannes Rombouts
Browse files

Added comment to pyxml

parent 5be65f8a
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ from xml.sax.saxutils import escape
# Its not trivial because we want to inherit from a list or
# from a dict, but we want both instances to inherit from Entries.
# Also we want the factory to be Entries and not a function.
# Ps: This is a metaclass.
class Entries(object):
def __new__(clazz, obj, *args, **kwargs):
class _Entries(Entries, type(obj)):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment