1

Using some classes like someclass and doing someclass. will bring up a bunch of methods, in pycharm the little icon to the left is an 'm'.

Importing random and using that gives me little 'v's. Apparently those stand for variables but they're methods/functions?

For example random.choice()

user1021085
  • 729
  • 3
  • 10
  • 28

2 Answers2

2

'v' does mean it's a variable, and this is because the random.choice is a variable that holds the real function, which you can see is really _inst.choice (if you hover on choice in random.choice and clicking while pressing ctrl)

2

'V' means variable. Checkout the pycharm symbol guide as a reference. Remember that in python you can store methods/functions in variables. This is the case here.

dna8675
  • 667
  • 3
  • 11