]> Savannah Git Hosting - gnulib.git/commitdiff
parser: pass all arguments in one variable
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 13 Sep 2017 19:17:10 +0000 (22:17 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Wed, 13 Sep 2017 19:17:10 +0000 (22:17 +0300)
pygnulib/parser.py

index 3df79683fc120d2fc454cdcafb92337283338ad2..17efac9c9207d87c957263ae9142c758c710e9b8 100644 (file)
@@ -906,9 +906,9 @@ class CommandLine:
         return self.__format_help()
 
 
-    def parse(self, *arguments):
+    def parse(self, arguments):
         """
-        self.parse(*arguments) -> (namespace, mode, verbosity, options)
+        self.parse(arguments) -> (namespace, mode, verbosity, options)
 
         Parse the command-line arguments and return a new configuration.
         The default configuration holds default parameter values.