261 return ret
262
263 def get_latest(self, pre_ok=False, major=None):
264 """265 Gets the latest release satisfying "pre-releases are OK" or major/branch constraints
266 Strives to fetch formal API release if it exists, because it has useful information
267 like assets.
320
321
322def ensure_directory_exists(directory_path):
323 """324 Ensure that the given directory exists.
325 Workaround for `exist_ok=True` not being available in Python 2.7.
326
There shouldn't be any blank lines after the function docstring. Remove the blank lines to fix this issue.
def example():
'''Bad docstring.'''
pass
def example():
'''Good docstring.'''
pass