We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26b6bad commit 1c66acaCopy full SHA for 1c66aca
1 file changed
sqlparse/sql.py
@@ -175,7 +175,10 @@ def is_group(self):
175
return True
176
177
def get_sublists(self):
178
- return [x for x in self.tokens if isinstance(x, TokenList)]
+# return [x for x in self.tokens if isinstance(x, TokenList)]
179
+ for x in self.tokens:
180
+ if isinstance(x, TokenList):
181
+ yield x
182
183
@property
184
def _groupable_tokens(self):
0 commit comments