PIL.__main__

# Requires Pyside or PyQt to be installed.
# Not worth adding to tool.stubtest.stubtest_requirements
# because it's only used as a base type and it's a long install.
PIL.ImageQt.ImageQt

# Only stubbing what's necessary from private modules
PIL\._imaging\.\w+?

# Internal logger variable
PIL\..+?\.logger

# Loop variables leaked in global scope
PIL.BmpImagePlugin.BmpImageFile.k
PIL.BmpImagePlugin.BmpImageFile.v
PIL.DdsImagePlugin.item
PIL.Image.enum
PIL.Image.item
PIL.ImageCms.flag
PIL.ImageMath.k
PIL.ImageMath.v
PIL.ImageQt.qt_module
PIL.ImImagePlugin.i
PIL.XVThumbImagePlugin.b
PIL.XVThumbImagePlugin.g
PIL.XVThumbImagePlugin.r

# Forwarded arguments
PIL\.TiffImagePlugin\.IFDRational\.__[a-z]+__
