<commit_before># -*- coding: utf-8 -*-
'''
    :codeauthor: :email:`<NAME> (<EMAIL>)`
    :copyright: © 2013 by the SaltStack Team, see AUTHORS for more details.
    :license: Apache 2.0, see LICENSE for more details.


    salt.utils.vt
    ~~~~~~~~~~~~~

    Virtual Terminal
'''

# Import python libs
import os
import sys
import time
import errno
import signal
import select
import logging
import resource
import subprocess

if subprocess.mswindows:
    from win32file import ReadFile, WriteFile
    from win32pipe import PeekNamedPipe
    import msvcrt
    import _subprocess
else:<commit_msg>Some more doc updates<commit_after># -*- coding: utf-8 -*-
'''
    :codeauthor: :email:`<NAME> (<EMAIL>)`
    :copyright: © 2013 by the SaltStack Team, see AUTHORS for more details.
    :license: Apache 2.0, see LICENSE for more details.


    salt.utils.vt
    ~~~~~~~~~~~~~

    Virtual Terminal

    This code has been heavily inspired by Python's subprocess code, the `non
    blocking version of it`__, some minor online snippets about TTY handling
    with python including `Python's own ``pty`` source code`__ and `Pexpect`__
    which has already surpassed some of the pitfalls that some systems would
    get us into.

    .. __: http://code.activestate.com/recipes/440554/
    .. __: https://github.com/python-mirror/python/blob/3.3/Lib/pty.py
    .. __: https://github.com/pexpect/pexpect

'''

# Import python libs
import os
import sys
import time
import errno
import signal
import select
import logging
import resource
import subprocess

if subprocess.mswindows:
    from win32file import ReadFile, WriteFile
    from win32pipe import PeekNamedPipe
    import msvcrt
    import _subprocess
else:
{'fraction_non_alphanumeric': 0.10029325513196481, 'fraction_numerical': 0.017595307917888565, 'mean_word_length': 3.477690288713911, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '717099', 'n_tokens_mistral': 535, 'n_tokens_neox': 496, 'n_words': 185}