Fix spacing typo

This commit is contained in:
Jason Paryani
2013-08-18 23:49:07 -07:00
parent 6c3041a9c6
commit 4373ecc50b

View File

@@ -130,6 +130,7 @@ For the most part, you just treat them like structs::
Now the `school` field is the active part of the union, and we've assigned `'MIT'` to it. You can query which field is set in a union with `which()`, shown in `Reading Unions`_ Now the `school` field is the active part of the union, and we've assigned `'MIT'` to it. You can query which field is set in a union with `which()`, shown in `Reading Unions`_
Also, one weird case is for Void types in Unions (and in general, but Void is really only used in Unions). For these, you will have to assign `None` to them:: Also, one weird case is for Void types in Unions (and in general, but Void is really only used in Unions). For these, you will have to assign `None` to them::
bob.employment.unemployed = None bob.employment.unemployed = None
Writing to a File Writing to a File