It is not an error in the documentation.
The example spends a pay-to-pubkey output. The scriptPubKey of a p2pk output is:
...and hence only the signature is expected in the spending scriptSig. Reference: https://en.bitcoin.it/wiki/Script#Obsolete_pay-to-pubkey_transaction
close?
Yes, close.
Most helpful comment
It is not an error in the documentation.
The example spends a pay-to-pubkey output. The scriptPubKey of a p2pk output is:
...and hence only the signature is expected in the spending scriptSig.
Reference: https://en.bitcoin.it/wiki/Script#Obsolete_pay-to-pubkey_transaction