* bpo-43643: Sync with python/importlib_resources@c17a610aad.
* Sync with python/importlib_resources@89fd5e961a.
This commit is contained in:
Jason R. Coombs 2021-05-21 13:00:40 -04:00 committed by GitHub
parent b51081c1a8
commit 875b3d84b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 1 deletions

View file

@ -96,6 +96,7 @@ class MultiplexedPath(abc.Traversable):
def open(self, *args, **kwargs):
raise FileNotFoundError('{} is not a file'.format(self))
@property
def name(self):
return self._paths[0].name