Etymology
Today it means: term of affection or endearment; darling. Full definition →
From pet + -ling.
Etymology from Wiktionary, CC BY-SA 4.0.