graphql/language/printer.py
def wrap(start: str, string: str, end: str = "") -> str:
    """Wrap string inside other strings at start and end.

    If the string is not None or empty, then wrap with start and end, otherwise return
    an empty string.
    """
    return f"{start}{string}{end}" if string else ""
Wrap string inside other strings at start and end.

    If the string is not None or empty, then wrap with start and end, otherwise return
    an empty string.
    
Wrap string inside other strings at start and end.
If the string is not None or empty, then wrap with start and end, otherwise return
an empty string.
Wrap string inside other strings at start and end . If the string is not None or empty then wrap with start and end otherwise return an empty string .
def wrap(start: str, string: str, end: str = "") -> str:
    return f"{start}{string}{end}" if string else ""
def wrap ( start : str , string : str , end : str = "" ) -> str : return f"{start}{string}{end}" if string else ""
Wrap string inside other strings at start and end.
Wrap string inside other strings at start and end .
"""Wrap string inside other strings at start and end.

    If the string is not None or empty, then wrap with start and end, otherwise return
    an empty string.
    """
start
str
string
str
end
str