# Path: native_tags/decorators.py
# def tag(bucket, doc):
#     def wrapped(inner, **options):


import random as _random
from native_tags.decorators import function

def randrange(*args,**kwargs):
    if len(args)==1:
        args = (0,args[0])
    return _random.randrange(*args,**kwargs)
randrange = function(randrange)
randrange.__doc__ = _random.randrange.__doc__ + """

    Syntax::
        
        {% randrange [stop] [options] %}
        {% randrange [start] [stop] [step] [options] %}
"""

def randint(a, b):
    return _random.randint(a, b)

# Path: native_tags/decorators.py
# def tag(bucket, doc):
#     def wrapped(inner, **options):


# Path: native_tags/contrib/rand.py
import random as _random
from native_tags.decorators import function


def randrange(*args,**kwargs):
    if len(args)==1:
        args = (0,args[0])
    return _random.randrange(*args,**kwargs)
randrange = function(randrange)
randrange.__doc__ = _random.randrange.__doc__ + """

    Syntax::
        
        {% randrange [stop] [options] %}
        {% randrange [start] [stop] [step] [options] %}
"""

def randint(a, b):
    return _random.randint(a, b)

randint = function(randint)