On this page
  1. io.BufferedIOBase
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

io.BufferedIOBase

Prev: io.BlockingIOError | Up: io | Next: io.BufferedRandom
Rel: io.BlockingIOError, io.BufferedRandom, io.BufferedReader, io.BufferedRWPair
Ref: docs.python.org — io.BufferedIOBase
Tags: #public #python3 #stdlib #io


Import

import io
from io import BufferedIOBase

Signature & Overview

io.BufferedIOBase()

Base class for buffered IO objects.

Methods & Attributes

Usage

import io

buf = io.BytesIO(b"abc")
assert isinstance(buf, io.BufferedIOBase)

Gotchas

REPL Inspect

from io import BufferedIOBase
help(BufferedIOBase)

Linked from

Related notes