Internal function.
(seq)
| 89 | |
| 90 | |
| 91 | def _flatten(seq): |
| 92 | """Internal function.""" |
| 93 | res = () |
| 94 | for item in seq: |
| 95 | if isinstance(item, (tuple, list)): |
| 96 | res = res + _flatten(item) |
| 97 | elif item is not None: |
| 98 | res = res + (item,) |
| 99 | return res |
| 100 | |
| 101 | |
| 102 | try: _flatten = _tkinter._flatten |
no outgoing calls
no test coverage detected
searching dependent graphs…