summaryrefslogtreecommitdiff
path: root/docs/examples/tutorial/string/if_char_in.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/tutorial/string/if_char_in.pyx')
-rw-r--r--docs/examples/tutorial/string/if_char_in.pyx10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/examples/tutorial/string/if_char_in.pyx b/docs/examples/tutorial/string/if_char_in.pyx
index 73521b2de..e33e18d59 100644
--- a/docs/examples/tutorial/string/if_char_in.pyx
+++ b/docs/examples/tutorial/string/if_char_in.pyx
@@ -1,5 +1,5 @@
-cpdef void is_in(Py_UCS4 uchar_val):
- if uchar_val in u'abcABCxY':
- print("The character is in the string.")
- else:
- print("The character is not in the string")
+cpdef void is_in(Py_UCS4 uchar_val):
+ if uchar_val in u'abcABCxY':
+ print("The character is in the string.")
+ else:
+ print("The character is not in the string")