|
137 | 137 | >>> g(*Nothing()) |
138 | 138 | Traceback (most recent call last): |
139 | 139 | ... |
140 | | - TypeError: test.test_extcall.g() argument after * must be an iterable, not Nothing |
| 140 | + TypeError: Value after * must be an iterable, not Nothing |
141 | 141 |
|
142 | 142 | >>> class Nothing: |
143 | 143 | ... def __len__(self): return 5 |
|
146 | 146 | >>> g(*Nothing()) |
147 | 147 | Traceback (most recent call last): |
148 | 148 | ... |
149 | | - TypeError: test.test_extcall.g() argument after * must be an iterable, not Nothing |
| 149 | + TypeError: Value after * must be an iterable, not Nothing |
150 | 150 |
|
151 | 151 | >>> class Nothing(): |
152 | 152 | ... def __len__(self): return 5 |
|
266 | 266 | >>> h(*h) |
267 | 267 | Traceback (most recent call last): |
268 | 268 | ... |
269 | | - TypeError: test.test_extcall.h() argument after * must be an iterable, not function |
| 269 | + TypeError: Value after * must be an iterable, not function |
270 | 270 |
|
271 | 271 | >>> h(1, *h) |
272 | 272 | Traceback (most recent call last): |
|
281 | 281 | >>> dir(*h) |
282 | 282 | Traceback (most recent call last): |
283 | 283 | ... |
284 | | - TypeError: dir() argument after * must be an iterable, not function |
| 284 | + TypeError: Value after * must be an iterable, not function |
285 | 285 |
|
286 | 286 | >>> nothing = None |
287 | 287 | >>> nothing(*h) |
288 | 288 | Traceback (most recent call last): |
289 | 289 | ... |
290 | | - TypeError: None argument after * must be an iterable, \ |
291 | | -not function |
| 290 | + TypeError: Value after * must be an iterable, not function |
292 | 291 |
|
293 | 292 | >>> h(**h) |
294 | 293 | Traceback (most recent call last): |
295 | 294 | ... |
296 | | - TypeError: test.test_extcall.h() argument after ** must be a mapping, not function |
| 295 | + TypeError: Value after ** must be a mapping, not function |
297 | 296 |
|
298 | 297 | >>> h(**[]) |
299 | 298 | Traceback (most recent call last): |
300 | 299 | ... |
301 | | - TypeError: test.test_extcall.h() argument after ** must be a mapping, not list |
| 300 | + TypeError: Value after ** must be a mapping, not list |
302 | 301 |
|
303 | 302 | >>> h(a=1, **h) |
304 | 303 | Traceback (most recent call last): |
305 | 304 | ... |
306 | | - TypeError: test.test_extcall.h() argument after ** must be a mapping, not function |
| 305 | + TypeError: Value after ** must be a mapping, not function |
307 | 306 |
|
308 | 307 | >>> h(a=1, **[]) |
309 | 308 | Traceback (most recent call last): |
310 | 309 | ... |
311 | | - TypeError: test.test_extcall.h() argument after ** must be a mapping, not list |
| 310 | + TypeError: Value after ** must be a mapping, not list |
312 | 311 |
|
313 | 312 | >>> h(**{'a': 1}, **h) |
314 | 313 | Traceback (most recent call last): |
315 | 314 | ... |
316 | | - TypeError: test.test_extcall.h() argument after ** must be a mapping, not function |
| 315 | + TypeError: Value after ** must be a mapping, not function |
317 | 316 |
|
318 | 317 | >>> h(**{'a': 1}, **[]) |
319 | 318 | Traceback (most recent call last): |
320 | 319 | ... |
321 | | - TypeError: test.test_extcall.h() argument after ** must be a mapping, not list |
| 320 | + TypeError: Value after ** must be a mapping, not list |
322 | 321 |
|
323 | 322 | >>> dir(**h) |
324 | 323 | Traceback (most recent call last): |
325 | 324 | ... |
326 | | - TypeError: dir() argument after ** must be a mapping, not function |
| 325 | + TypeError: Value after ** must be a mapping, not function |
327 | 326 |
|
328 | 327 | >>> nothing(**h) |
329 | 328 | Traceback (most recent call last): |
330 | 329 | ... |
331 | | - TypeError: None argument after ** must be a mapping, \ |
332 | | -not function |
| 330 | + TypeError: Value after ** must be a mapping, not function |
333 | 331 |
|
334 | 332 | >>> dir(b=1, **{'b': 1}) |
335 | 333 | Traceback (most recent call last): |
|
0 commit comments