Cannot find reference '|' (Pipe)

Cannot find reference for ‘|’ pipe.

In a function you are allowed to put pipes for type hinting ‘or’ as a logical operator but PyCharm doesn't seem to know that.

Here if you take a look at the function “time_diff()” you will see the pipe underlined.

0

请先登录再写评论。