MCPcopy Index your code
hub / github.com/openai/openai-agents-python / _normalize_text_newlines

Function _normalize_text_newlines

src/agents/apply_diff.py:87–89  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

85
86
87def _normalize_text_newlines(text: str) -> str:
88 # Normalize CRLF to LF for parsing/matching. Newline style is restored when emitting.
89 return text.replace("\r\n", "\n")
90
91
92def _is_done(state: ParserState, prefixes: Sequence[str]) -> bool:

Callers 1

apply_diffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected