Clarify documentation about "except clauses"

They're called type conversions. Type casts are done with cast[T](...)
and are not type safe.
This commit is contained in:
def
2015-01-17 03:57:38 +01:00
parent 1a76d26360
commit c45367fc55

View File

@@ -83,7 +83,7 @@ raised:
Note that ``getCurrentException`` always returns a ``ref Exception``
type. If a variable of the proper type is needed (in the example
above, ``IOError``), one must use an explicit cast:
above, ``IOError``), one must convert it explicitly:
.. code-block:: nim
try: