Skip to content

Commit 579ba96

Browse files
committed
fix python3
1 parent d09bfb6 commit 579ba96

File tree

1 file changed

+2
-1
lines changed
  • examples/python-snippets/advanced

1 file changed

+2
-1
lines changed

examples/python-snippets/advanced/regex.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
if not a == None:
1515
if a.group(1) == a.group(3):
1616
# we found a match
17-
print "string in '{}' tags is: {}".format(a.group(1), a.group(2))
17+
print("string in '{}' tags is: {}".format(a.group(1), a.group(2)))
18+
1819

1920

2021

0 commit comments

Comments
 (0)