view src/testdir/test_short_sleep.py @ 12614:12f4408c7f69 v8.0.1185

patch 8.0.1185: Ruby library includes minor version number commit https://github.com/vim/vim/commit/9202162c5c069c925b6b9bf84e546fbd362cdf46 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 12 12:33:43 2017 +0200 patch 8.0.1185: Ruby library includes minor version number Problem: Ruby library includes minor version number. Solution: Only use the API version number. (Ben Boeckel, closes https://github.com/vim/vim/issues/2199)
author Christian Brabandt <cb@256bit.org>
date Thu, 12 Oct 2017 12:45:07 +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