Commit 11384c6
Peter Schneider-Kamp
raise error on duplicate function arguments
example:
>>> def f(a,a):print a
...
SyntaxError: duplicate argument in function definition1 parent 91826ed commit 11384c6
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3092 | 3092 | | |
3093 | 3093 | | |
3094 | 3094 | | |
| 3095 | + | |
3095 | 3096 | | |
3096 | 3097 | | |
3097 | 3098 | | |
| |||
3103 | 3104 | | |
3104 | 3105 | | |
3105 | 3106 | | |
3106 | | - | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
3107 | 3116 | | |
3108 | 3117 | | |
3109 | 3118 | | |
| |||
0 commit comments