GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: prepare test/pseudo-tty/testcfg.py Python 3 · nodejs/node@a67d37d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/pseudo-tty
    • testcfg.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/pseudo-tty/testcfg.py‎

Copy file name to clipboardExpand all lines: test/pseudo-tty/testcfg.py
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
# Copyright 2008 the V8 project authors. All rights reserved.
32
# Redistribution and use in source and binary forms, with or without
43
# modification, are permitted provided that the following conditions are
@@ -26,12 +25,19 @@
2625
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2726
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2827

28+
from __future__ import print_function
29+
2930
import test
3031
import os
3132
from os.path import join, exists, basename, isdir
3233
import re
3334
import utils
3435

36+
try:
37+
reduce # Python 2
38+
except NameError: # Python 3
39+
from functools import reduce
40+
3541
try:
3642
xrange # Python 2
3743
except NameError:

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.