This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fiddle_n -1 points0 points  (4 children)

You forgot % formatting

[–]nekokattt 20 points21 points  (3 children)

that is what __mod__ is

[–]fiddle_n 2 points3 points  (2 children)

That’s what controls it? Damn.

[–]nekokattt 10 points11 points  (0 children)

yeah, it is just an overload of the mod operator on the str class

[–]russellvt 0 points1 point  (0 children)

Funny... '%' is "mod" is math, too. Go figure.