mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
This commit is contained in:
parent
387235085c
commit
dba903993a
63 changed files with 445 additions and 409 deletions
|
@ -338,11 +338,11 @@ beginning of the file as the reference point. ::
|
|||
>>> f = open('workfile', 'rb+')
|
||||
>>> f.write(b'0123456789abcdef')
|
||||
16
|
||||
>>> f.seek(5) # Go to the 6th byte in the file
|
||||
>>> f.seek(5) # Go to the 6th byte in the file
|
||||
5
|
||||
>>> f.read(1)
|
||||
b'5'
|
||||
>>> f.seek(-3, 2) # Go to the 3rd byte before the end
|
||||
>>> f.seek(-3, 2) # Go to the 3rd byte before the end
|
||||
13
|
||||
>>> f.read(1)
|
||||
b'd'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue