Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "accepts only single type" error messages #1130

Merged
merged 1 commit into from Apr 11, 2022
Merged

Commits on Apr 11, 2022

  1. Fix "accepts only single type" errors

    - Add "a" to make the message grammatical
    - Add a trailing period because _type_check adds another sentence after it. For example, `Unpack[3]` on 3.10 currently fails with `TypeError: Unpack accepts only single type Got 3.`.
    JelleZijlstra committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    4612e7c View commit details
    Browse the repository at this point in the history