Skip to content

Instantly share code, notes, and snippets.

@marksharrison
Last active March 14, 2017 20:05
Show Gist options
  • Save marksharrison/8c5f3b06c373c2fed171f9c9b8728405 to your computer and use it in GitHub Desktop.
Save marksharrison/8c5f3b06c373c2fed171f9c9b8728405 to your computer and use it in GitHub Desktop.
function_template with Google Style Docstrings Python Snippet
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# pylint: disable=line-too-long
def function_template(first_argument, second_argument=None, *args, **kwargs):
"""Summary description of function.
Extended description of function.
Args:
first_argument (int): The first numeric parameter.
second_argument (str, optional): The second numeric parameter. Defaults to None.
*args: Variable length argument list.
**kwargs: Arbitrary keyword arguments.
Returns:
bool: The return value. True for success, False otherwise.
Raises:
"""
return True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment