Commits

Andy Mikhailenko committed 60f9043

Fixed documentation.

  • Participants
  • Parent commits c3b388c

Comments (0)

Files changed (3)

 Real-life usage
 ---------------
 
-Among applications that use `argh` are Tool_, OrgTool_, Watchdog_, Poni_ and
-more. Well, there's probably no need to keep a complete and up-to-date list.
-Still, please let me know anyway if you use `argh` in your project. I'll be
-glad to know. :-)
+Among applications that use `argh` are Tool_, OrgTool_, Watchdog_, Poni_, Pyg_
+and more. Well, there's probably no need to keep a complete and up-to-date
+list. Still, please let me know anyway if you use `argh` in your project. I'll
+be glad to know. :-)
 
 .. _Tool: http://pypi.python.org/pypi/tool
 .. _OrgTool: http://pypi.python.org/pypi/orgtool
-.. _Watchdog: https://github.com/gorakhargosh/watchdog/blob/master/watchdog/watchmedo.py
+.. _Watchdog: https://github.com/gorakhargosh/watchdog/
 .. _Poni: https://github.com/melor/poni/commit/14e8ccbb50e9e17b95a2f2a0d2cd0af5d90ca22b
+.. _Pyg: https://github.com/rubik/pyg/commit/a201de1d70536e7e4637a6079f03174b7b493ffa
 
 Licensing
 ---------

argh/decorators.py

 
 def arg(*args, **kwargs):
     """Declares an argument for given function. Does not register the function
-    anywhere, not does it modify the function in any way. The signature is
+    anywhere, nor does it modify the function in any way. The signature is
     exactly the same as that of :meth:`argparse.ArgumentParser.add_argument`,
     only some keywords are not required if they can be easily guessed.
 

docs/tutorial.rst

     foo_parser = subparsers.add_parser('foo')
     foo_parser.set_defaults(function=foo)
 
-    foo_parser = subparsers.add_parser('bar')
-    foo_parser.set_defaults(function=bar)
+    bar_parser = subparsers.add_parser('bar')
+    bar_parser.set_defaults(function=bar)
 
     args = parser.parse_args()
     print args.function(args)