MCPcopy Index your code
hub / github.com/geekcomputers/Python / doubleslash

Function doubleslash

VoiceAssistant/Project_Basic_struct/textRead.py:248–257  ·  view source on GitHub ↗

Replaces / with // Args: text (str): location Returns: str: formatted location

(text)

Source from the content-addressed store, hash-verified

246
247
248def doubleslash(text):
249 """Replaces / with //
250
251 Args:
252 text (str): location
253
254 Returns:
255 str: formatted location
256 """
257 return text.replace("\\", "\\\\")
258
259
260def print_index(toc):

Callers 2

ms_wordFunction · 0.85
pdf_readFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected