Ver Fonte

Fix formatting in docstring.

Jelmer Vernooij há 2 anos atrás
pai
commit
f3da1bced9
1 ficheiros alterados com 6 adições e 3 exclusões
  1. 6 3
      dulwich/porcelain.py

+ 6 - 3
dulwich/porcelain.py

@@ -197,10 +197,13 @@ class TimezoneFormatError(Error):
 
 def parse_timezone_format(tz_str):
     """Parse given string and attempt to return a timezone offset.
+
     Different formats are considered in the following order:
-        - Git internal format: <unix timestamp> <timezone offset>
-        - RFC 2822: e.g. Mon, 20 Nov 1995 19:12:08 -0500
-        - ISO 8601: e.g. 1995-11-20T19:12:08-0500
+
+     - Git internal format: <unix timestamp> <timezone offset>
+     - RFC 2822: e.g. Mon, 20 Nov 1995 19:12:08 -0500
+     - ISO 8601: e.g. 1995-11-20T19:12:08-0500
+
     Args:
       tz_str: datetime string
     Returns: Timezone offset as integer