import ast


def nodeDocString(node):
	"""
	Get the docstring of a node

	Args:
		node: ast node

	Returns:
		docstring or none
	"""
	try:
		item = node.body[0]
		if isinstance(item, ast.Expr) and isinstance(item.value, ast.Str):
			return item.value.s
	except:
		return None