Skip to content

Commit

Permalink
possible fix for dgrunwald#219
Browse files Browse the repository at this point in the history
  • Loading branch information
lausek committed Apr 23, 2020
1 parent 690ac16 commit 64ce09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/argparse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ macro_rules! py_argparse_parse_plist_impl {
// TT muncher macro that does the main work for py_argparse_parse_plist!.

// Base case: all parameters handled
{ $callback:ident { $($initial_arg:tt)* } $output:tt ( ) } => {
{ $callback:ident { $($initial_arg:tt)* } $output:tt ( $(,)? ) } => {
$crate::$callback! { $($initial_arg)* $output }
};
// Kwargs parameter with reference extraction
Expand Down

0 comments on commit 64ce09c

Please sign in to comment.