mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
Fix return type of Distribution.origin property (#14648)
This commit is contained in:
@@ -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