galou / freecad.cross

CROSS CAD and ROS, an Open-Source Synergy; ROS workbench for FreeCAD
GNU Lesser General Public License v2.1
95 stars 26 forks source link

DO = fc.DocumentObject DOList = list[DO] not compatible with python3.8 #5

Closed Betavion closed 10 months ago

Betavion commented 10 months ago
DO = fc.DocumentObject
DOList = list[DO]

is not compatible with python3.8, better this way:

from typing import List

DO = fc.DocumentObject
DOList = List[DO]
galou commented 10 months ago

Thanks for reporting. Fixed in ae7b013.