Commit e5a0a960 authored by Raymond Hettinger's avatar Raymond Hettinger

Apply the _is_special guard.

parent a7daba68
......@@ -760,6 +760,7 @@ class Decimal(object):
Captures all of the information in the underlying representation.
"""
if self._is_special:
if self._isnan():
minus = '-'*self._sign
if self._int == (0,):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment