Skip to content

Commit

Permalink
Merge pull request #282 from python/debt/80-remove-legacy
Browse files Browse the repository at this point in the history
Remove legacy functions
  • Loading branch information
jaraco committed Jul 7, 2023
2 parents 57a03d6 + 224d77e commit b73dea2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 139 deletions.
19 changes: 0 additions & 19 deletions importlib_resources/__init__.py
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
@@ -0,0 +1 @@
Removed legacy functions deprecated in 5.3.

0 comments on commit b73dea2

Please sign in to comment.