Commit 6498e527 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #28257: Backported a test.

parent 85c3f268
...@@ -233,6 +233,11 @@ What about willful misconduct? ...@@ -233,6 +233,11 @@ What about willful misconduct?
... ...
TypeError: h() argument after * must be an iterable, not function TypeError: h() argument after * must be an iterable, not function
>>> h(1, *h)
Traceback (most recent call last):
...
TypeError: h() argument after * must be an iterable, not function
>>> dir(*h) >>> dir(*h)
Traceback (most recent call last): Traceback (most recent call last):
... ...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment