• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Cache lines from files.

This is intended to read lines from modules imported -- hence if a filename
is not found, it will look down the module search path for a file by
that name.

src/p/y/pymel-HEAD/pymel/internal/pwarnings.py   pymel(Download)
 
"""
import warnings
from warnings import formatwarning, linecache
 
def formatwarning(message, category, filename, lineno, line=None):
    """Redefined format warning for maya."""