Fix return type of Distribution.origin property (#14648)

This commit is contained in:
Victorien
2025-08-27 09:48:21 +02:00
committed by GitHub
parent c7b28cafb0
commit 5509c51832
+1 -1
View File
@@ -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: