Fix doc contracts
This commit is contained in:
parent
fac247d340
commit
23a0823dec
|
@ -211,7 +211,7 @@ Gets the font's weight. See @racket[font%] for information about
|
|||
|
||||
}
|
||||
|
||||
@defmethod[(screen-glyph-exists? [c char]
|
||||
@defmethod[(screen-glyph-exists? [c char?]
|
||||
[for-label? any/c #f])
|
||||
boolean?]{
|
||||
|
||||
|
|
|
@ -162,7 +162,7 @@ See also @racket[path-dialog%] for a richer interface.
|
|||
|
||||
@defproc[(get-directory [message (or/c label-string? #f) #f]
|
||||
[parent (or/c (is-a?/c frame%) (is-a?/c dialog%) #f) #f]
|
||||
[directory (or/c path? #f) #f]
|
||||
[directory (or/c path-string? #f) #f]
|
||||
[style (listof (or/c 'enter-packages 'common)) null]
|
||||
[#:dialog-mixin dialog-mixin (make-mixin-contract path-dialog%) (λ (x) x)])
|
||||
(or/c path #f)]{
|
||||
|
|
|
@ -2576,7 +2576,7 @@ not including fields whose names are local (i.e., declared with
|
|||
]}
|
||||
|
||||
|
||||
@defproc[(object-info [object any/c]) (values (or/c class? #f) boolean?)]{
|
||||
@defproc[(object-info [object object?]) (values (or/c class? #f) boolean?)]{
|
||||
|
||||
Returns two values, analogous to the return
|
||||
values of @racket[struct-info]:
|
||||
|
|
Loading…
Reference in New Issue
Block a user