# torch 2.15.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Mirrors CPython's sequence_repeat helper.

    Validates that ``n`` is index-like, converts it to an int, and dispatches
    to ``seq.sq_repeat_impl(tx, count)``.

    https://github.com/python/cpython/blob/v3.13.0/Objects/abstract.c#L1156-L1174
    
=== parse google
short_description: "Mirrors CPython's sequence_repeat helper."
long_description: |
  Validates that ``n`` is index-like, converts it to an int, and dispatches
  to ``seq.sq_repeat_impl(tx, count)``.
  
  https://github.com/python/cpython/blob/v3.13.0/Objects/abstract.c#L1156-L1174
blank_after_short_description: True
blank_after_long_description: False
style: google
=== detect
rest
=== compose google
Mirrors CPython's sequence_repeat helper.

Validates that ``n`` is index-like, converts it to an int, and dispatches
to ``seq.sq_repeat_impl(tx, count)``.

https://github.com/python/cpython/blob/v3.13.0/Objects/abstract.c#L1156-L1174
