Indexing argparse's dest entries?

Asked by Boris Kheyfets

Is it possible to index argparse dest entries? Here's a typical case:

parser = argparse.ArgumentParser()
parser.add_argument('-f', '--file',
                    help = 'structure file: tpr, gro, cpt, g96, pdb',
                    dest = 'myStrFile',
                    action = 'store',
                    )
args = parser.parse_args()

I need to see the dest entries in the py-index:

args.myStrFile

Because otherwise I have to remember - how I have called my variables. Currently py-index (and ECB's index) only shows parser instanse instead of that.

Question information

Language:
English Edit question
Status:
Solved
For:
python-mode.el Edit question
Assignee:
Andreas Roehler Edit question
Last query:
Last reply:
Revision history for this message
Andreas Roehler (a-roehler) said :
#1

feature has been provided

Revision history for this message
Andreas Roehler (a-roehler) said :
#2

done