After trial by the court sitting without a jury, defendant was convicted of possession of heroin. He appeals from the judgment.
Within a few days before defendant’s arrest, several armed robberies of drug stores and bars had been committed in the early morning hours in the general neighborhood of Valencia and Market Streets in San Francisco. Each was committed by two men. At about 12:20 a. m. on the night of the arrest, two police officers who knew of these robberies were patrolling *319 the area in an automobile. They saw two men sitting in an unlighted car parked across the street from a drug store on Market. The car suddenly backed up 10 or 15 feet along the curb. The police drove alongside the car and stopped. One policeman went to the passenger side of the car. He saw defendant move his closed hand toward his pocket, and asked him what was in the hand. After first denying that he held anything, defendant opened his hand and displayed to the officer a capsule containing a powdery substance. When asked if the capsule contained heroin, he answered “yes.” He was then arrested and searched. The officers had no warrant. At the trial, the heroin was not produced, but it was stipulated that a state chemist, if called as a witness, would produce the capsule and would testify that it contained .06 grams of heroin.
Defendant first argues that this stipulation amounted to a plea of guilty and thus must be made by defendant personally, rather than by counsel. There is little merit in the suggestion that the stipulation had the effect of a guilty plea (see
People
v.
Barnes,
Also without merit is the contention that the officer obtained the heroin by an unlawful search and seizure. There is nothing unreasonable in a police officer’s questioning persons outdoors at late hours of the night
(People
v.
Blodgett,
Judgment affirmed.
Kaufman, P. J., and Shoemaker, J., concurred.
