(obj)
return (isbuiltin(obj) or
            ismethoddescriptor(obj) or
            isinstance(obj, _NonUserDefinedCallables) or
            # Can't test 'isinstance(type)' here, as it would
            # also be True for regular python classes
            obj in (type, object))
Private helper to test if `obj` is a callable that might
    support Argument Clinic's __text_signature__ protocol.
Private helper to test if `obj` is a callable that might
    support Argument Clinic's __text_signature__ protocol.
Private helper to test if obj is a callable that might support Argument Clinic s __text_signature__ protocol .
def _signature_is_builtin(obj):
    """Private helper to test if `obj` is a callable that might
    support Argument Clinic's __text_signature__ protocol.
    """
    return (isbuiltin(obj) or
            ismethoddescriptor(obj) or
            isinstance(obj, _NonUserDefinedCallables) or
            # Can't test 'isinstance(type)' here, as it would
            # also be True for regular python classes
            obj in (type, object))
def _signature_is_builtin ( obj ) : return ( isbuiltin ( obj ) or ismethoddescriptor ( obj ) or isinstance ( obj , _NonUserDefinedCallables ) or # Can't test 'isinstance(type)' here, as it would # also be True for regular python classes obj in ( type , object ) )