0

When using help function on some method, I get a short text describing that method. In the first line, most of the time it says:

"method name" (self, iterable, /).

Can anyone tell me what does self and / mean for that method?

Patrick Haugh
  • 59,226
  • 13
  • 88
  • 96
Cro Simpson2.0
  • 103
  • 1
  • 5
  • And also : https://stackoverflow.com/questions/24735311/python-what-does-the-slash-mean-in-the-output-of-helprange – Patrick Haugh Feb 14 '19 at 01:32
  • Short version: Everything before the forward slash is passable only positionally (or in the case of `self`, implicitly), not by keyword. – ShadowRanger Feb 14 '19 at 01:36

0 Answers0