summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-04-07 17:53:14 +0200
committerSebastian Thiel <byronimo@gmail.com>2014-04-07 17:53:14 +0200
commit2976561e6c369b40f7e0a36016b26cd560db6ad4 (patch)
treeb509dca10a250640cbb1403963a8e1d3de742892
parent1cb02ebcaa4891c01a1d6cba11a3cd9806fad782 (diff)
parente5339553e992e6c4f6332d24c47b3240bf337020 (diff)
downloadgitpython-2976561e6c369b40f7e0a36016b26cd560db6ad4.tar.gz
Merge pull request #116 from lqez/master
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::