Mercurial > p > roundup > code
view roundup/anypy/scandir_.py @ 8319:5e6ff4e9cacb
build: issue2551397: remove support for python 3.6
One last file with a 3.6 reference.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 11 May 2025 20:31:16 -0400 |
| parents | 5c5723cd721a |
| children |
line wrap: on
line source
try: # python 3.5+ from os import scandir except ImportError: # python 2 fallback import os import scandir # pip package os.scandir = scandir.scandir
