This repository was archived by the owner on Nov 23, 2017. It is now read-only.
Commit a3bb643
committed
Fix _format_coroutine for coroutine-like objects without __name__
Some built-in coroutine-like objects might not have __name__ or
__qualname__. A good example of such are 'asend', 'aclose' and
'athrow' coroutine methods of asynchronous generators.1 parent 8e8416f commit a3bb643
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
267 | 271 | | |
268 | 272 | | |
269 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2384 | 2384 | | |
2385 | 2385 | | |
2386 | 2386 | | |
2387 | | - | |
2388 | | - | |
2389 | 2387 | | |
2390 | 2388 | | |
2391 | 2389 | | |
| |||
2399 | 2397 | | |
2400 | 2398 | | |
2401 | 2399 | | |
| 2400 | + | |
2402 | 2401 | | |
2403 | 2402 | | |
2404 | 2403 | | |
| |||
2408 | 2407 | | |
2409 | 2408 | | |
2410 | 2409 | | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
2411 | 2415 | | |
2412 | 2416 | | |
2413 | 2417 | | |
| |||
0 commit comments