> Looking at the referenced asn doc page the relevant sentence in the example section says `found in the implementation of`. I.e. the code of ldap makes use of the asn package and command.

That is just plain ignorant documentation.  The link pointed to in that quoted sentence is which is the documentation for ldap and not the implementation of the asn code in the repository.  Something needs to change to show an example on the documentation page.