From 68991bfbb25ac8e916717e905b21de0bab4aabdf Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 29 Aug 2024 02:31:53 -0400 Subject: [PATCH] Expand docs and tests for overlay. --- zipp/compat/overlay.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/zipp/compat/overlay.py b/zipp/compat/overlay.py index a396038..a97b154 100644 --- a/zipp/compat/overlay.py +++ b/zipp/compat/overlay.py @@ -1,5 +1,16 @@ """ -Expose zipp.Path as .zipfile.Path +Expose zipp.Path as .zipfile.Path. + +Includes everything else in ``zipfile`` to match future usage. Just +use: + +>>> from zipp.compat.overlay import zipfile + +in place of ``import zipfile``. + +Relative imports are supported too. + +>>> from zipp.compat.overlay.zipfile import ZipInfo """ import importlib