MCPcopy Create free account
hub / github.com/dateutil/dateutil / README

Function README

setup.py:33–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31# Load metadata
32
33def README():
34 with io.open('README.rst', encoding='utf-8') as f:
35 readme_lines = f.readlines()
36
37 # The .. doctest directive is not supported by PyPA
38 lines_out = []
39 for line in readme_lines:
40 if line.startswith('.. doctest'):
41 lines_out.append('.. code-block:: python3\n')
42 else:
43 lines_out.append(line)
44
45 return ''.join(lines_out)
46README = README() # NOQA
47
48

Callers 1

setup.pyFile · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected