~ubuntu-branches/ubuntu/wily/python-argh/wily

« back to all changes in this revision

Viewing changes to argh/decorators.py

  • Committer: Package Import Robot
  • Author(s): Marco Nenciarini
  • Date: 2012-10-22 16:39:30 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20121022163930-8y8c9c1gnpfh8sjh
Tags: 0.16.0-1
ImportedĀ UpstreamĀ versionĀ 0.16.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
 
63
63
    ...is equivalent to::
64
64
 
65
 
        @argh('filename')
 
65
        @arg('filename')
66
66
        def load(args):
67
67
            print json.load(args.filename)
68
68