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

Make repr on TypeRef more verbose #7055

Open
sklam opened this issue May 24, 2021 · 0 comments
Open

Make repr on TypeRef more verbose #7055

sklam opened this issue May 24, 2021 · 0 comments
Labels
easy good second issue A good issue for second time contributors Task

Comments

@sklam
Copy link
Member

sklam commented May 24, 2021

It'd might be useful to make the repr on TypeRef more verbose? Using class MyArray(types.Array): pass,
this:

print(typeof(MyArray(types.float64, 3, 'C', True)))

gives

typeref[readonly array(float64, 3d, C)]

Maybe not for this PR though?

Originally posted by @stuartarchibald in #7050 (comment)

@sklam sklam added easy good second issue A good issue for second time contributors Task labels May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy good second issue A good issue for second time contributors Task
Projects
None yet
Development

No branches or pull requests

1 participant