File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 719719
720720 You can pass keyword argument values to this function. These named values
721721 will be applied to the attributes of the FRect before it is returned. An
722- example would be ``mysurf.get_frect(center=(100, 100)) `` to create a
722+ example would be ``mysurf.get_frect(center=(100.0 , 100.0 )) `` to create a
723723 rectangle for the Surface centered at a given position.
724724
725725 :ref: `Surface.get_rect `
Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ def test_get_rect(self):
571571
572572 def test_get_frect (self ):
573573 """Ensure a surface's frect can be retrieved."""
574- size = (16 , 16 )
574+ size = (16.0 , 16.0 )
575575 surf = pygame .Surface (size )
576576 frect = surf .get_frect ()
577577
You can’t perform that action at this time.
0 commit comments