aboutsummaryrefslogtreecommitdiffstats
path: root/env/lib/python3.10/site-packages/PIL/_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'env/lib/python3.10/site-packages/PIL/_util.py')
-rw-r--r--env/lib/python3.10/site-packages/PIL/_util.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/env/lib/python3.10/site-packages/PIL/_util.py b/env/lib/python3.10/site-packages/PIL/_util.py
deleted file mode 100644
index ba27b7e..0000000
--- a/env/lib/python3.10/site-packages/PIL/_util.py
+++ /dev/null
@@ -1,19 +0,0 @@
-import os
-from pathlib import Path
-
-
-def is_path(f):
- return isinstance(f, (bytes, str, Path))
-
-
-def is_directory(f):
- """Checks if an object is a string, and that it points to a directory."""
- return is_path(f) and os.path.isdir(f)
-
-
-class DeferredError:
- def __init__(self, ex):
- self.ex = ex
-
- def __getattr__(self, elt):
- raise self.ex