Skip to content

Commit b2abfde

Browse files
author
Matthew Duggan
committed
Note that Refspec constructor is internal. Fix typo.
1 parent 34fb1c0 commit b2abfde

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pygit2/refspec.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636

3737
class Refspec(object):
38+
"""The constructor is for internal use only"""
3839
def __init__(self, owner, ptr):
3940
self._owner = owner
4041
self._refspec = ptr
@@ -95,7 +96,7 @@ def transform(self, ref):
9596
return self._transform(ref, C.git_refspec_transform)
9697

9798
def rtransform(self, ref):
98-
"""transform(str) -> str
99+
"""rtransform(str) -> str
99100
100101
Transform a reference name according to this refspec from the lhs
101102
to the rhs"""

0 commit comments

Comments
 (0)