Mary Patricia Weld, 39, who taught high school and college French here for a number of years, died Wednesday at Fairfax Hospital. She had Hodgkin's disease.

She taught at Gaithersburg High School for two years after coming to this area in 1966. Later she taught part-time at George Washington and George Mason universities.

After working for 1 1/2 years as head of the travel department of the Bechtel Engineering Co. in Gaithersburg, Mrs. Weld joined the faculty of Montgomery College in Rockville a year ago as a composition teacher, and worked there until last November.

During that time, she also was a staff writer for the Potomac Almanac.She lived in Gaithersburg.

She was born in Niagara Falls, N.Y. and grew up in Binghamton, N.Y. She was a graduate of Syracuse University and earned a master's degree from the University of Arizona, where she taught before coming here.She also took graduate work at George Washington University.

Mrs. Weld was a member of the Monocacy Canoe Club and St. Rose of Lima Catholic Church in Gaithersburg.

She is survived by her husband, John F., and a son, John F. IV, both of Gaithersburg; her mother, Ethel Mallery of Arlington; three sisters, Nancy Holleran of Arlington, Joan Holmwood of Hopewell Junction, N.Y., and Susan Mallery of Columbus, Ohio, and a brother, Harry Mallery Jr. of Takoma Park.

The family suggests that expressions of sympathy be in the form of contributions to the American Cancer Society.