Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Update docstring on Padder #91

Merged
merged 1 commit into from
Dec 29, 2017
Merged

Conversation

cceckman
Copy link
Contributor

I was confused as to the semantics of x and y: does it pad to the specified size, e.g. "be sure you're at least X by Y", or is it "this much space around the outside"?

Apparently it's the latter, i.e. CSS style (without being able to specify top-vs-bottom, left-vs-right.) This is an attempt to make the docstring clearer on the matter.

I was confused as to the semantics of `x` and `y`: does it pad *to* the specified size, e.g. "be sure you're at least X by Y", or is it "this much space around the outside"?

Apparently it's the latter, i.e. CSS style (without being able to specify top-and-bottom).
@marcusolsson
Copy link
Owner

You are correct, thanks for clarifying!

@marcusolsson marcusolsson merged commit ead1439 into marcusolsson:master Dec 29, 2017
@cceckman cceckman deleted the patch-1 branch January 4, 2018 06:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants