In the following code:
def f(x):
"""Return the argument
:type x: bool
:param x: the value to return.
:rtype: bool
:returns: the argument.
Examples :
>>>f(True)
True
"""
return x
PyCharm believes that "True" in the line "→> f (True)" is an unresolved link. I do not understand why.
Below is a screenshot of the code with a weak warning in yellow:

source
share