--- /dev/null
+# Stubs for copy\r
+\r
+from typing import TypeVar, Optional, Dict, Any\r
+\r
+_T = TypeVar('_T')\r
+\r
+# None in CPython but non-None in Jython\r
+PyStringMap: Any\r
+\r
+# Note: memo and _nil are internal kwargs.\r
+def deepcopy(x: _T, memo: Optional[Dict[int, _T]] = ..., _nil: Any = ...) -> _T: ...\r
+def copy(x: _T) -> _T: ...\r
+class Error(Exception): ...\r
+error = Error\r