-2

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

Sayse
  • 42,633
  • 14
  • 77
  • 146

1 Answers1

0

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

Pierre
  • 1,068
  • 1
  • 9
  • 13