-2

this is a part from the document of pygame, I don't know what does "->" mean.

Sayse
  • 41,425
  • 14
  • 72
  • 139

1 Answers1

0

-> generally means "returns". In your case, your rect() function returns a Rect instance.

Pierre
  • 1,038
  • 1
  • 8
  • 11