Pycharm: Unresolved Truth Link

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:

enter image description here

+4
source share
1 answer

An error has been reported about this , now it has been fixed.

+1
source

Source: https://habr.com/ru/post/1685226/


All Articles