Skip to content

Commit ac1ec61

Browse files
committed
cleaned up a bit more, and added .gitignore to .gitignore
1 parent 3d1e969 commit ac1ec61

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

Examples/Session10/unicode_exception_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
example 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

1111
print "\nDo you see this message in the Exception report?\n"
1212
print msg

slides_sources/source/session10.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ It's all much cleaner.
496496
Basic 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

523526
NOTE: if your terminal does not support unicode -- you'll get an error trying
524527
to print. Try a different terminal or IDE, or google for a solution.
@@ -555,7 +558,7 @@ And why 'ascii'? I specified 'utf-8'!
555558

556559
It'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

0 commit comments

Comments
 (0)