From 09bdc5fa1bd9c6d4ab9859b354f3572176b11e54 Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Tue, 17 Feb 2015 19:57:05 +0300 Subject: [PATCH] Snapshot of python-skeletons @ 658937341a --- python/helpers/python-skeletons/builtins.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/python/helpers/python-skeletons/builtins.py b/python/helpers/python-skeletons/builtins.py index f8595ea63200..1cfb32ca6a4b 100644 --- a/python/helpers/python-skeletons/builtins.py +++ b/python/helpers/python-skeletons/builtins.py @@ -186,6 +186,15 @@ def locals(): return {} +def max(*args, key=None, default=None): + """Return the largest item in an iterable or the largest of two or more + arguments. + + :rtype: object | unknown + """ + pass + + def map(function, sequence, *sequence_1): """Return a list of the results of applying the function to the items of the argument sequence(s). @@ -197,6 +206,15 @@ def map(function, sequence, *sequence_1): pass +def min(*args, key=None, default=None): + """Return the smallest item in an iterable or the smallest of two or more + arguments. + + :rtype: object | unknown + """ + pass + + def next(iterator, default=None): """Return the next item from the iterator.