summaryrefslogtreecommitdiff
path: root/lib/git/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/tree.py')
-rw-r--r--lib/git/tree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/tree.py b/lib/git/tree.py
index aaeca828..02266dce 100644
--- a/lib/git/tree.py
+++ b/lib/git/tree.py
@@ -64,9 +64,9 @@ class Tree(LazyMixin):
Examples::
- >>> Repo('/path/to/python-git').tree/'lib'
+ >>> Repo('/path/to/python-git').tree()/'lib'
<git.Tree "6cc23ee138be09ff8c28b07162720018b244e95e">
- >>> Repo('/path/to/python-git').tree/'README.txt'
+ >>> Repo('/path/to/python-git').tree()/'README'
<git.Blob "8b1e02c0fb554eed2ce2ef737a68bb369d7527df">
Returns