Skip to content

Implementation of __nonzero__ in Vector2 has problems #7

Description

@GoogleCodeExporter
What steps will reproduce the problem?

Make a test like:
if v:
    xxx

where "v" is a Vector2 instance.


What is the expected output? What do you see instead?
TypeError: __nonzero__ should return bool or int, returned float

What version of the product are you using? On what operating system?
SVN checkout version

Please provide any additional information below.
No more info.
PS: Sorry for direct contact mail, I saw the "Issues" tab only after sending!

Original issue reported on code.google.com by luca...@gmail.com on 15 Aug 2008 at 2:13

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions