summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorClaude Hemberger <hemberger.cl@gmail.com>2017-01-28 13:32:29 +0100
committerGitHub <noreply@github.com>2017-01-28 13:32:29 +0100
commita43fb5d02a651a5d0ae92f06cb7282557bc045b3 (patch)
treef2cb36fc19b9ab1e7dfeb818b3f77ed43769adac /python
parentecb848f7cedeecf033f283df0b7d1fa8aca80d50 (diff)
example documentation fix for BinaryWriter
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 476f2be6..def04077 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -3591,7 +3591,7 @@ class BinaryWriter(object):
>>> hex(bw.offset)
'0x100000008L'
>>> bw.seek(0x100000000)
- >>> hex(br.offset)
+ >>> hex(bw.offset)
'0x100000000L'
>>>
"""
@@ -3608,7 +3608,7 @@ class BinaryWriter(object):
>>> hex(bw.offset)
'0x100000008L'
>>> bw.seek_relative(-8)
- >>> hex(br.offset)
+ >>> hex(bw.offset)
'0x100000000L'
>>>
"""