Commit 2632426
authored
pythongh-129813, PEP 782: Use PyBytesWriter in _Py_bytes_maketrans() (python#139044)
Replace PyBytes_FromStringAndSize(NULL, size) with the new public
PyBytesWriter API.1 parent dd0840b commit 2632426
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | 359 | | |
364 | 360 | | |
365 | 361 | | |
366 | 362 | | |
367 | 363 | | |
368 | | - | |
369 | | - | |
| 364 | + | |
| 365 | + | |
370 | 366 | | |
371 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
372 | 370 | | |
373 | 371 | | |
374 | 372 | | |
375 | 373 | | |
376 | 374 | | |
377 | 375 | | |
378 | | - | |
| 376 | + | |
379 | 377 | | |
380 | 378 | | |
381 | 379 | | |
| |||
0 commit comments