Mercurial > vim
view src/testdir/test_channel_write.py @ 32013:ec05de98b0f7 v9.0.1338
patch 9.0.1338: :defcompile and :disassemble can't find class method
Commit: https://github.com/vim/vim/commit/99a7c0d89cf77c0a908b60191e63f41f04f9e793
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 21 19:55:14 2023 +0000
patch 9.0.1338: :defcompile and :disassemble can't find class method
Problem: :defcompile and :disassemble can't find class method. (Ernie Rael)
Solution: Make a class name and class.method name work. (closes https://github.com/vim/vim/issues/11984)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 21 Feb 2023 21:00:05 +0100 |
parents | 5cd9ba96561d |
children |
line wrap: on
line source
#!/usr/bin/python # # Program that writes a number to stdout repeatedly # # This requires Python 2.6 or later. from __future__ import print_function import sys import time if __name__ == "__main__": done = 0 while done < 10: done = done + 1 print(done) sys.stdout.flush() time.sleep(0.05) # sleep 50 msec