Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy functions #282

Merged
merged 1 commit into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions importlib_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,12 @@
Package,
)

from ._legacy import (
contents,
open_binary,
read_binary,
open_text,
read_text,
is_resource,
path,
Resource,
)

from .abc import ResourceReader


__all__ = [
'Package',
'Resource',
'ResourceReader',
'as_file',
'contents',
'files',
'is_resource',
'open_binary',
'open_text',
'path',
'read_binary',
'read_text',
]
120 changes: 0 additions & 120 deletions importlib_resources/_legacy.py

This file was deleted.

1 change: 1 addition & 0 deletions newsfragments/80.removal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed legacy functions deprecated in 5.3.