Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/o/portage-funtoo-HEAD/pym/portage/util/_pty.py   portage-funtoo(Download)
 
from portage import os
from portage.output import get_term_size, set_term_size
from portage.util import writemsg
 
		os.isatty(copy_term_size):
		rows, columns = get_term_size()
		set_term_size(rows, columns, slave_fd)
 
	return (got_pty, master_fd, slave_fd)

src/p/o/portage-HEAD/pym/portage/util/_pty.py   portage(Download)
 
from portage import os
from portage.output import get_term_size, set_term_size
from portage.util import writemsg
 
		os.isatty(copy_term_size):
		rows, columns = get_term_size()
		set_term_size(rows, columns, slave_fd)
 
	return (got_pty, master_fd, slave_fd)