Skip to content

Commit

Permalink
fix: re warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed Feb 2, 2025
1 parent 7cfe211 commit f4b1571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/data_classes/container/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ def cont_flatten_key_chain(
(Default value = '__')
"""
# noinspection RegExpSingleCharAlternation
flat_keys = re.split("/|\.", key_chain) # noqa
flat_keys = re.split(r"/|\.", key_chain) # noqa
num_keys = len(flat_keys)
pre_keys = []
post_keys = []
Expand Down

0 comments on commit f4b1571

Please sign in to comment.