0

I am using function filter in Python, and using Pycharm as an IDE. When I click on function name to take a look to the code I only see this:

def filter(function_or_none, sequence): # known special case of filter
    """
    filter(function or None, sequence) -> list, tuple, or string

    Return those items of sequence for which function(item) is true.  If
    function is None, return the items that are true.  If sequence is a tuple
    or string, return the same type, else return a list.
    """
    pass

Where is the code of this function?

mrc
  • 2,845
  • 8
  • 39
  • 73

0 Answers0