third_party/blink/tools/blinkpy/common/system/filesystem.py
def sanitize_filename(self, filename, replacement='_'):
        """Replaces all illegal characters in a filename with a given character.

        The list of illegal characters covers all restrictions on Linux, Mac and
        Windows.

        Args:
            filename: A basename (or a part of the basename) of a file to
                sanitize. It cannot be a path because slashes will be replaced.
            replacement: A character to replace all illegal characters with.

        Returns:
            The sanitized filename.
        """
        return _sanitize_filename(filename, replacement)
Replaces all illegal characters in a filename with a given character.

        The list of illegal characters covers all restrictions on Linux, Mac and
        Windows.

        Args:
            filename: A basename (or a part of the basename) of a file to
                sanitize. It cannot be a path because slashes will be replaced.
            replacement: A character to replace all illegal characters with.

        Returns:
            The sanitized filename.
        
Replaces all illegal characters in a filename with a given character.
The list of illegal characters covers all restrictions on Linux, Mac and
Windows.
Replaces all illegal characters in a filename with a given character . The list of illegal characters covers all restrictions on Linux Mac and Windows .
def sanitize_filename(self, filename, replacement='_'):
        return _sanitize_filename(filename, replacement)
def sanitize_filename ( self , filename , replacement = '_' ) : return _sanitize_filename ( filename , replacement )
Replaces all illegal characters in a filename with a given character.
Replaces all illegal characters in a filename with a given character .
"""Replaces all illegal characters in a filename with a given character.

        The list of illegal characters covers all restrictions on Linux, Mac and
        Windows.

        Args:
            filename: A basename (or a part of the basename) of a file to
                sanitize. It cannot be a path because slashes will be replaced.
            replacement: A character to replace all illegal characters with.

        Returns:
            The sanitized filename.
        """
The sanitized filename.
The sanitized filename .
self
filename
A basename (or a part of the basename) of a file to
sanitize. It cannot be a path because slashes will be replaced.
A basename ( or a part of the basename ) of a file to sanitize . It cannot be a path because slashes will be replaced .
replacement
A character to replace all illegal characters with.
A character to replace all illegal characters with .