#NEWLINE# def format_argspec_init( method , grouped = True ) : #NEWLINE# #INDENT# 'format_argspec_plus with considerations for typical __init__ methods\n\n    Wraps format_argspec_plus with error handling strategies for typical\n    __init__ cases::\n\n      object.__init__ -> (self)\n      other unreflectable (usually C) -> (self, *args, **kwargs)\n\n    ' #NEWLINE# if ( method is object . __init__ ) : #NEWLINE# #INDENT# args = ( ( grouped and '(self)' ) or 'self' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return format_argspec_plus ( method , grouped = grouped ) #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# args = ( ( grouped and '(self, *args, **kwargs)' ) or 'self, *args, **kwargs' ) #NEWLINE# #UNINDENT# #UNINDENT# return dict ( self_arg = 'self' , args = args , apply_pos = args , apply_kw = args )