Skip to content

Conversation

srittau
Copy link
Contributor

@srittau srittau commented May 16, 2025

Fixes #19096

@@ -2618,32 +2616,29 @@ class A(metaclass=abc.ABCMeta):
@abc.abstractmethod
def x(self): ...

[case testClassWithNameIncompleteOrOptional]
[case testClassWithNameIncomplete]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing for Optional seemed obsolete, since we don't use typing.Optional anymore, so I removed it while I was here.

@JelleZijlstra JelleZijlstra merged commit 8ed16d1 into python:master May 16, 2025
12 checks passed
@srittau srittau deleted the stubgen-incomplete-none branch May 16, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stubgen: Don't generate Incomplete | None = None
2 participants