| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -280,8 +280,6 @@ def _remove_dups_flatten(parameters): | |||
| 280 | 280 | for p in parameters: | |
| 281 | 281 | if isinstance(p, (_UnionGenericAlias, types.UnionType)): | |
| 282 | 282 | params.extend(p.__args__) | |
| 283 | - elif isinstance(p, tuple) and len(p) > 0 and p[0] is Union: | ||
| 284 | - params.extend(p[1:]) | ||
| 285 | 283 | else: | |
| 286 | 284 | params.append(p) | |
| 287 | 285 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + Remove unused branch from ``typing._remove_dups_flatten`` | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments