From 07665942db1021386cb335afeeac637fba22279d Mon Sep 17 00:00:00 2001 From: pax Date: Sat, 11 Apr 2026 17:28:57 -0500 Subject: [PATCH] core/__init__.py: drop stale core.images reference from docstring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The audit #8 explanation no longer needs to name core.images as the example case — the invariant holds for any submodule, and core.images is about to be removed entirely as dead code. --- booru_viewer/core/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/booru_viewer/core/__init__.py b/booru_viewer/core/__init__.py index ee6eb2d..0467151 100644 --- a/booru_viewer/core/__init__.py +++ b/booru_viewer/core/__init__.py @@ -7,9 +7,8 @@ treated as a download failure. Setting it here (rather than as a side effect of importing ``core.cache``) means any code path that touches PIL via any -``booru_viewer.core.*`` submodule gets the cap installed first — -``core.images`` no longer depends on ``core.cache`` having been -imported in the right order. Audit finding #8. +``booru_viewer.core.*`` submodule gets the cap installed first, +regardless of submodule import order. Audit finding #8. """ from PIL import Image as _PILImage