(encoding=None, *args, **kwargs)
| 2323 | |
| 2324 | |
| 2325 | def _extract_text_encoding(encoding=None, *args, **kwargs): |
| 2326 | # stacklevel=3 so that the caller of the caller see any warning. |
| 2327 | return io.text_encoding(encoding, 3), args, kwargs |
| 2328 | |
| 2329 | |
| 2330 | class Path: |