Add proper docs for return type of sformat.
Merge pull request #1503 from AndrejMitrovic/DocFix

[Trivial] Add proper docs for return type of sformat.