File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,6 @@ slides_sources/build
55* .pyc
66* .sublime *
77* . * ~
8+
9+ # ignore .gitignore, so we can each have our own.
10+ .gitignore
Original file line number Diff line number Diff line change 44example for what happens when you pass non-ascii unicode to a Exception
55"""
66
7- msg = u'This is an ASCII-compatible unicode message'
7+ # msg = u'This is an ASCII-compatible unicode message'
88
9- # msg = u'This is an non ASCII\N{EM DASH}compatible unicode message'
9+ msg = u'This is an non ASCII\N{EM DASH} compatible unicode message'
1010
1111print "\n Do you see this message in the Exception report?\n "
1212print msg
Original file line number Diff line number Diff line change @@ -496,6 +496,7 @@ It's all much cleaner.
496496Basic Unicode LAB
497497=================
498498
499+ .. rst-class left
499500
500501 * Find some nifty non-ascii characters you might use.
501502
@@ -518,7 +519,9 @@ and/ or
518519
519520.. nextslide :: Some Help
520521
521- reference: http://inamidst.com/stuff/unidata/
522+ .. rst-class :: left
523+
524+ Reference: http://inamidst.com/stuff/unidata/
522525
523526NOTE: if your terminal does not support unicode -- you'll get an error trying
524527to print. Try a different terminal or IDE, or google for a solution.
@@ -555,7 +558,7 @@ And why 'ascii'? I specified 'utf-8'!
555558
556559It's there for backward compatibility
557560
558- What's happening under the hood
561+ What's happening under the hood:
559562
560563.. code-block :: python
561564
You can’t perform that action at this time.
0 commit comments