Skip to content

Commit

Permalink
Merge pull request #97 from Kodiologist/no-compat
Browse files Browse the repository at this point in the history
Don't use the internal Hy module `hy._compat`
  • Loading branch information
Kodiologist authored May 5, 2024
2 parents 233a301 + 67dfc1d commit a78f720
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hyrule/hypprint.hy
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ Since Hy lacks :ref:`implicit concatenation of string literals
_safe-tuple
_safe-key]
hy.core.hy-repr
hy._compat [PY3_10]
hyrule.collections [assoc]
hyrule.misc [inc dec constantly])

(export [pprint pformat saferepr PrettyPrinter readable? recursive? pp])

(if PY3_10
(if (>= sys.version-info #(3 10))
(defn _safe-py-repr [object context maxlevels level sort-dicts]
(._safe-repr (PyPrettyPrinter :sort-dicts sort-dicts)
object context maxlevels level))
Expand Down

0 comments on commit a78f720

Please sign in to comment.