summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPark Hyunwoo <ez@smartstudy.co.kr>2013-07-30 15:48:50 +0900
committerPark Hyunwoo <ez@smartstudy.co.kr>2013-07-30 15:48:50 +0900
commite5339553e992e6c4f6332d24c47b3240bf337020 (patch)
treed3d606aba00a11e0df1ee7e5d20133ca3d6dea4a
parent660bdca125aa9dcca7a7730535bec433edb8ba02 (diff)
downloadgitpython-e5339553e992e6c4f6332d24c47b3240bf337020.tar.gz
Fix typo in tutorial
-rw-r--r--doc/source/tutorial.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst
index 4dcfad4a..62bed6ce 100644
--- a/doc/source/tutorial.rst
+++ b/doc/source/tutorial.rst
@@ -146,9 +146,9 @@ Index Objects are objects that can be put into git's index. These objects are tr
''
hct.trees[0].path # the first subdirectory has one though
'dir'
- htc.mode # trees have the mode of a linux directory
+ oct(htc.mode) # trees have the mode of a linux directory
040000
- '%o' % htc.blobs[0].mode # blobs have a specific mode though comparable to a standard linux fs
+ oct(htc.blobs[0].mode) # blobs have a specific mode though comparable to a standard linux fs
100644
Access blob data (or any object data) directly or using streams::