view src/testdir/test_short_sleep.py @ 21050:7a9daf73a724 v8.2.1076

patch 8.2.1076: Vim9: no line break allowed in :if expression Commit: https://github.com/vim/vim/commit/faf8626b79e380fe81e7ae2439a535ed7619d27b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 27 23:07:36 2020 +0200 patch 8.2.1076: Vim9: no line break allowed in :if expression Problem: Vim9: no line break allowed in :if expression. Solution: Skip linebreak.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Jun 2020 23:15:03 +0200
parents 191ccece2f5d
children
line wrap: on
line source

#!/usr/bin/python
#
# Program that sleeps for 100 msec
#
# This requires Python 2.6 or later.

import time

if __name__ == "__main__":

    time.sleep(0.1)  # sleep 100 msec