Changeset 1347 for framspy/frams.py


Ignore:
Timestamp:
08/27/25 18:15:39 (2 days ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/frams.py

    r1345 r1347  
    2727import ctypes, re, sys, os
    2828
    29 c_api = None  # will be initialized in init(). Global because ExtValue uses it.
     29c_api = None  # will be initialized in init(). This variable is global because all ExtValue objects use it extensively.
    3030
    3131
     
    320320        Similarly '-dPATH' and '-DPATH' needed by Framsticks are optional and derived from the first path, unless they are specified as args in init().
    321321        '-LNAME' is the optional library name (full name including the file name extension), default is 'frams-objects.dll/.so/.dylib' depending on the platform.
    322         All other arguments are passed to Framsticks and not interpreted by this function.
     322        All other arguments are passed to Framsticks and are not interpreted by this function.
    323323        """
    324324
     
    359359                        initargs.append(a)
    360360        if lib_path is None:
    361                 # TODO: use environment variable and/or the zip distribution we are in when the path is not specified in arg
    362                 # for now just assume the current dir is Framsticks
     361                # TODO: use environment variable and/or the zip distribution we are in when the path is not specified in arg.
     362                # For now, just assume the current dir is Framsticks.
    363363                lib_path = '.'
    364364
     
    378378        initargs.insert(0, frams_d)
    379379        initargs.insert(0, frams_D)
    380         initargs.insert(0, 'dummy.exe')  # as an offset, 0th arg is by convention app name
     380        initargs.insert(0, 'dummy.exe')  # as an offset, 0th arg is by convention the app name
    381381
    382382        global c_api  # access global variable
Note: See TracChangeset for help on using the changeset viewer.