From 963cb7cc94c3672b7a1f12ca3b31eaee6ebbe0e5 Mon Sep 17 00:00:00 2001 From: Ju Hee Son <juheeson@ajou.ac.kr> Date: Fri, 23 Jun 2023 00:55:04 +0900 Subject: [PATCH] Add new file --- .../3.10 ID property access (idprop.types)" | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 "3. \353\217\205\353\246\275\355\230\225 \353\252\250\353\223\210/3.10 ID property access (idprop.types)" diff --git "a/3. \353\217\205\353\246\275\355\230\225 \353\252\250\353\223\210/3.10 ID property access (idprop.types)" "b/3. \353\217\205\353\246\275\355\230\225 \353\252\250\353\223\210/3.10 ID property access (idprop.types)" new file mode 100644 index 0000000..44ca408 --- /dev/null +++ "b/3. \353\217\205\353\246\275\355\230\225 \353\252\250\353\223\210/3.10 ID property access (idprop.types)" @@ -0,0 +1,53 @@ +ID Property Access (idprop.types) +classidprop.types.IDPropertyArray +to_list() +Return the array as a list. + +typecode +The type of the data in the array {‘f’: float, ‘d’: double, ‘i’: int, ‘b’: bool}. + +classidprop.types.IDPropertyGroup +clear() +Clear all members from this group. + +get(key, default=None) +Return the value for key, if it exists, else default. + +items() +Iterate through the items in the dict; behaves like dictionary method items. + +keys() +Return the keys associated with this group as a list of strings. + +pop(key, default) +Remove an item from the group, returning a Python representation. + +Raises +KeyError – When the item doesn’t exist. + +Parameters +key (string) – Name of item to remove. + +default (Undefined) – Value to return when key isn’t found, otherwise raise an exception. + +to_dict() +Return a purely python version of the group. + +update(other) +Update key, values. + +Parameters +other (IDPropertyGroup or dict) – Updates the values in the group with this. + +values() +Return the values associated with this group. + +name +The name of this Group. + +classidprop.types.IDPropertyGroupIterItems +classidprop.types.IDPropertyGroupIterKeys +classidprop.types.IDPropertyGroupIterValues +classidprop.types.IDPropertyGroupViewItems +classidprop.types.IDPropertyGroupViewKeys +classidprop.types.IDPropertyGroupViewValues -- GitLab