_FileIOBase.extension_patterns

_FileIOBase.extension_patterns#

property _FileIOBase.extension_patterns: tuple[re.Pattern[str], ...][source]#

Return mapping from regex pattern matching associated with this class.

These extensions are used by read() and save to determine which reader and/or writer is used for reading and/or saving files.

Returns:
tuple[re.Pattern[str], …]

Regex patterns associated with this class.