Skip to content

py5 Attribute errors could provide useful suggestions #224

@hx2A

Description

@hx2A

When I use git and mistype a command, it will guess at what I meant.

$ git stutas git: 'stutas' is not a git command. See 'git --help'. The most similar command is status (py5) 21:25 jim@main ~/Projects/ITP/pythonprocessing/py5generator:$ git status On branch splitsketch Your branch is up to date with 'origin/splitsketch'. nothing to commit, working tree clean

py5 could do this also. If my code includes py5.collor(100, 200, 300) it currently responds with AttributeError: py5 has no function or field named collor. What if it instead said it said AttributeError: py5 has no function or field named collor. Did you mean to type "color"?

Originally posted by @hx2A in #198 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions