Selfie
Loading...
Searching...
No Matches
selfie_lib.LineReader Namespace Reference

Classes

class  LineReader
 

Functions

str _to_unix (str s)
 

Function Documentation

◆ _to_unix()

str selfie_lib.LineReader._to_unix ( str  s)
protected

Definition at line 5 of file LineReader.py.

5def _to_unix(s: str) -> str:
6 if s.find("\r\n") == -1:
7 return s
8 else:
9 return s.replace("\r\n", "\n")
10
11