From 6569c4849197c9475d85d05205c55e9ef28950c1 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 14 Jan 2015 17:47:44 +0100 Subject: Fixed some doc strings to build correctly with sphinx Fixes #7 [ci skip] --- git/index/fun.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'git/index/fun.py') diff --git a/git/index/fun.py b/git/index/fun.py index 38ad843b..f07cf7dc 100644 --- a/git/index/fun.py +++ b/git/index/fun.py @@ -166,11 +166,10 @@ def entry_key(*entry): def read_cache(stream): """Read a cache file from the given stream :return: tuple(version, entries_dict, extension_data, content_sha) - * version is the integer version number - * entries dict is a dictionary which maps IndexEntry instances to a path - at a stage - * extension_data is '' or 4 bytes of type + 4 bytes of size + size bytes - * content_sha is a 20 byte sha on all cache file contents""" + * version is the integer version number + * entries dict is a dictionary which maps IndexEntry instances to a path at a stage + * extension_data is '' or 4 bytes of type + 4 bytes of size + size bytes + * content_sha is a 20 byte sha on all cache file contents""" version, num_entries = read_header(stream) count = 0 entries = dict() -- cgit v1.2.3