Comment 2 for bug 1400906

Revision history for this message
Russell Ballestrini (russell-ballestrini) wrote :

Test case:

test_case.py:

import sfml as sf
r1 = sf.Rectangle((0,0), (5,5))
r2 = sf.Rectangle((4,4), (5,5))
r1.intersects(r2)

python test_case.py
Traceback (most recent call last):
  File "test.py", line 7, in <module>
    r1.intersects(r2)
  File "graphics.pyx", line 188, in sfml.graphics.Rectangle.intersects (src/sfml/graphics.cpp:4717)
  File "graphics.pyx", line 97, in sfml.graphics.Rectangle.__init__ (src/sfml/graphics.cpp:2489)
TypeError: __init__() takes at most 2 positional arguments (4 given)