mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 03:21:25 +08:00
Fix return type of Distribution.origin property (#14648)
This commit is contained in:
1 parent
c7b28cafb0
commit
5509c51832
1 file changed
+1
-1
@@ -257,7 +257,7 @@ class Distribution(_distribution_parent):
|
||||
def name(self) -> str: ...
|
||||
if sys.version_info >= (3, 13):
|
||||
@property
|
||||
def origin(self) -> types.SimpleNamespace: ...
|
||||
def origin(self) -> types.SimpleNamespace | None: ...
|
||||
|
||||
class DistributionFinder(MetaPathFinder):
|
||||
class Context:
|
||||
|
||||
Reference in new issue
Block a user