human
Solve the following python programming problem given the following code:
@ classmethod 
def _get_queryset_methods(cls, queryset_class) : 
    def create_method(name, method) : 
        def manager_method(self, * args, **kwargs) : 
            return getattr (self.get_queryset (), name) (* args, ** kwargs) 
manager_method.__name__ = method.__name__ 
        manager_method.__doc__ = method.__doc__ 
        return manager_method 
new_methods = { 
        
} 
    predicate = (inspect.isfunction if six.PY3 else inspect.ismethod) 
    for (name, method) in inspect.getmembers (queryset_class, predicate = create_method) : 
        if hasattr (cls, name) : 
            continue 
queryset_only = getattr (method, 'queryset_only', None) 
        if (queryset_only or ((queryset_only is None) and name.startswith ('_'))) : 
            continue 
new_methods [name] = create_method (name, method) 
return new_methods 

    
    

    Fix the buggy line: for (name, method) in inspect.getmembers (queryset_class, predicate = create_method) :
assistant
#Here is Python code to fix the buggy line: for (name, method) in inspect.

for (name, method) in inspect.getmembers (queryset_class, predicate = predicate) :