Skip to content

Commit 8f74752

Browse files
committed
Document decode_as_string
1 parent f938b49 commit 8f74752

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pygit2/config.py

+2
Original file line numberDiff line numberDiff line change
@@ -323,4 +323,6 @@ def value_string(self):
323323

324324
@staticmethod
325325
def decode_as_string(value):
326+
"""Returns ``value`` as a decoded ``utf-8`` string.
327+
"""
326328
return ffi.string(value).decode('utf-8')

0 commit comments

Comments
 (0)