def parse_pdb_command(env, sig, signode):
 m = pdbcmd_sig_re.match(sig)
 if (m is None):
  raise ValueError
 (name, args) = m.groups()
 fullname = name.replace('(', '').replace(')', '')
 signode += addnodes.desc_name(name, name)
 if args:
  signode += addnodes.desc_addname((' ' + args), (' ' + args))
 return fullname

def parse_pdb_command ( env , sig , signode ) : m = pdbcmd_sig_re . match ( sig ) if ( m is None ) : raise ValueError ( name , args ) = m . groups ( ) fullname = name . replace ( '(' , '' ) . replace ( ')' , '' ) signode += addnodes . desc_name ( name , name ) if args : signode += addnodes . desc_addname ( ( ' ' + args ) , ( ' ' + args ) ) return fullname
transform a pdb command signature into rst nodes .