Commit bfa68227 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 77ef69c6
...@@ -85,8 +85,6 @@ class Bucket: ...@@ -85,8 +85,6 @@ class Bucket:
# StructureOf returns internal structure of a tree. # StructureOf returns internal structure of a tree.
def StructureOf(node): def StructureOf(node):
typ = type(node) typ = type(node)
print(typ.__name__)
print(typ.__bases__)
is_tree = ("Tree" in typ.__name__) is_tree = ("Tree" in typ.__name__)
is_set = ("Set" in typ.__name__) is_set = ("Set" in typ.__name__)
is_bucket = (("Bucket" in typ.__name__) or re.match("..Set", typ.__name__)) is_bucket = (("Bucket" in typ.__name__) or re.match("..Set", typ.__name__))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment