"Mary" is informed that "Polly" is one of those "hypocorisms," or pet-names, in which our language abounds. Most are mere abbreviations, as Will, Nat, Pat, Bell, &c., taken usually from the beginning, sometimes from the end of the name.
Source: wiktionary