Skip to content

Commit 146a027

Browse files
Deploy preview for PR 1148 🛫
1 parent d285bcb commit 146a027

File tree

574 files changed

+1261
-1093
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

574 files changed

+1261
-1093
lines changed

pr-preview/pr-1148/_sources/library/asyncio-stream.rst.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,13 +316,14 @@ StreamWriter
316316
If that fails, the data is queued in an internal write buffer until it can be
317317
sent.
318318

319+
The *data* buffer should be a bytes, bytearray, or C-contiguous one-dimensional
320+
memoryview object.
321+
319322
The method should be used along with the ``drain()`` method::
320323

321324
stream.write(data)
322325
await stream.drain()
323326

324-
.. note::
325-
The *data* buffer should be a C contiguous one-dimensional :term:`bytes-like object <bytes-like object>`.
326327

327328
.. method:: writelines(data)
328329

pr-preview/pr-1148/_sources/library/compression.rst.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
The :mod:`!compression` package
22
===============================
33

4+
.. module:: compression
5+
46
.. versionadded:: 3.14
57

68
The :mod:`!compression` package contains the canonical compression modules

pr-preview/pr-1148/_sources/library/sysconfig.rst.txt

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -382,22 +382,19 @@ Other functions
382382

383383
Examples of returned values:
384384

385-
- linux-i586
386-
- linux-alpha (?)
387-
- solaris-2.6-sun4u
388385

389-
Windows will return one of:
386+
Windows:
390387

391388
- win-amd64 (64-bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
392389
- win-arm64 (64-bit Windows on ARM64, aka AArch64)
393390
- win32 (all others - specifically, sys.platform is returned)
394391

395-
macOS can return:
392+
POSIX based OS:
396393

397-
- macosx-10.6-ppc
398-
- macosx-10.4-ppc64
399-
- macosx-10.3-i386
400-
- macosx-10.4-fat
394+
- linux-x86_64
395+
- macosx-15.5-arm64
396+
- macosx-26.0-universal2 (macOS on Apple Silicon or Intel)
397+
- android-24-arm64_v8a
401398

402399
For other non-POSIX platforms, currently just returns :data:`sys.platform`.
403400

0 commit comments

Comments
 (0)