diff --git a/src/taoensso/timbre/profiling.clj b/src/taoensso/timbre/profiling.clj index 0f3969d..8be9515 100644 --- a/src/taoensso/timbre/profiling.clj +++ b/src/taoensso/timbre/profiling.clj @@ -105,7 +105,7 @@ (perc accounted clock-time) (ft accounted))))) (defmacro defnp "Like `defn` but wraps body in `p` macro." - {:arglists '([name doc-string? attr-map? [params] prepost-map? body])} + {:arglists '([name ?doc-string ?attr-map [params] ?prepost-map body])} [name & sigs] (let [[name [params & sigs]] (macro/name-with-attributes name sigs) prepost-map (when (and (map? (first sigs)) (next sigs)) (first sigs))