Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deepdiff/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ def parse_path(path, root_element=DEFAULT_FIRST_ELEMENT, include_actions=False):


def stringify_element(param, quote_str=None):
if isinstance(param, (bytes, memoryview)):
return repr(param)
has_quote = "'" in param
has_double_quote = '"' in param
if has_quote and has_double_quote and not quote_str:
Expand Down