12

In the PyCharm, the auto-completion there are f and m.

What's the meaning of f and m?

enter image description here

Does the f means function?

2

3 Answers 3

12

If f is in yellow and in small letters, it's field. In pink and in capital letters it's function.

m is method

To know more take a look here: https://www.jetbrains.com/help/pycharm/symbols.html

1
  • This is a bit annoying IMO because "field" is Java terminology, not Python terminology. Python objects have attributes. Commented Jul 30 at 21:48
8

This is the symbol for the type. A complete list may be found in PyCharm's docs:

c: class
f: field
F: function
m: method
p: parameter
P: property
v: variable
0

f as function you create i.e local
m as method
v as variable
p as Python function that required parameters
c as class

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.