def _cleanRecursive(self, subSelf):
for key, item in list(subSelf.items()):<EOL><INDENT>if self.isNestedDict(item):<EOL><INDENT>if not item:<EOL><INDENT>subSelf.pop(key)<EOL><DEDENT>else:<EOL><INDENT>self._cleanRecursive(item)<EOL><DEDENT><DEDENT><DEDENT>
Delete all NestedOrderedDict that haven't any entries.